1366 Commits
Author SHA1 Message Date
ANTOND. a8bf225b3d ci(create-release): run publish in package folder v3.32.3 2026-02-20 01:44:50 +01:00
ANTOND. 1e02469d9a ci(create-release): use npm trusted publisher 2026-02-20 01:35:10 +01:00
github-actions 4b2446f7a8 chore: bump version to v3.32.3 2026-02-19 21:34:58 +00:00
Senlar f33c613b6d Fix: Skillcheck animation speed inconsistencies by switching to time-… (#66)
* Fix: Skillcheck animation speed inconsistencies by switching to time-based RAF loop

This PR fixes long-standing issues with the skillcheck mini-game animation speed being inconsistent across machines and after long play sessions. Some players reported extremely slow indicator movement, others extremely fast, and many noticed that the speed changed unpredictably the longer they stayed logged in.

The root cause was that the skillcheck relied on a useInterval tick (setInterval-like behavior) and assumed it fired every 1ms. In reality, browser timer clamping and throttling make interval timing highly unpredictable — especially in embedded CEF browsers like FiveM’s NUI.

This PR replaces tick-based animation with a time-based requestAnimationFrame loop using performance.now(), ensuring perfectly consistent animation timing across all hardware and browser states. I have used this method in other NUI based skillcheck scripts to address this same behavior.

Signed-off-by: Senlar <brandonrhue@gmail.com>

* Refactor keyHandler and clean up code

Signed-off-by: Senlar <brandonrhue@gmail.com>

* Refactor keyHandler and cleanup useEffect logic again

Signed-off-by: Senlar <brandonrhue@gmail.com>

---------

Signed-off-by: Senlar <brandonrhue@gmail.com>
2026-02-11 18:22:54 +01:00
Maximus7474 e66b6805bc fix(package): added an array check on callback args (#85)
-> Issue is that if callaback returns a null value it errors and fails
2026-02-11 18:07:42 +01:00
BerkieBb fdc1674f4f fix(interface/menu): incosistent menu function types (#80)
Signed-off-by: BerkieBb <82737367+BerkieBb@users.noreply.github.com>
2026-01-19 23:47:42 +01:00
Angelo Rodrigues De Morais Barroso c8db003cbc Add lockState support to vehicle properties (#83)
Hello,

I’d like to propose a small improvement to vehicle properties handling.

This change adds support for the vehicle door lock state (lockState) by:
- Including lockState in the VehicleProperties type
- Reading the value using GetVehicleDoorLockStatus in getVehicleProperties
- Applying the value using SetVehicleDoorsLocked in setVehicleProperties

This allows vehicle lock status to be properly saved and restored alongside other vehicle properties.

Let me know if this fits the project direction or if any adjustments are needed.
This allows the vehicle lock status to be properly saved and restored alongside other vehicle properties.

Note: Two additional commits and pull requests were accidentally opened during this process and have already been closed. Sorry for the noise.

Thank you!

Signed-off-by: Angelo Rodrigues De Morais Barroso <115129101+Angelo90810@users.noreply.github.com>
2026-01-19 23:46:37 +01:00
github-actions ae16b78bc4 chore: bump version to v3.32.2 v3.32.2 2025-12-21 17:18:40 +00:00
Christopher 3ea020cc50 feat(imports/logger): support metadata table for Fivemanage logger (#75) 2025-12-21 16:41:21 +01:00
Austin Dunn db0bd16f0f Feat: Selector (#59)
* selector init

* fixes

* recalculate set weights on add/update
2025-12-08 00:19:59 +01:00
github-actions 01935adf8e chore: bump version to v3.32.1 v3.32.1 2025-11-03 20:15:20 +00:00
Maximus7474 220c0c91ec fix(progress): client statebag change handler double creating the props (#60) 2025-11-03 21:13:15 +01:00
github-actions 855e1e4a36 chore: bump version to v3.32.0 v3.32.0 2025-11-03 15:39:46 +00:00
PotatoFarmer441 a2f6b9a9e9 fix(progress): prop replication overload (#58) 2025-11-03 16:35:39 +01:00
RuksH4n 13a24baee4 fix(table_matches): remove leftover strict shape check from df7a6b9 (#50)
- The previous fix (commit df7a6b9) mistakenly left in a table.type
  / #t1 == #t2 check that breaks equality for {} and {x=nil}.
- This removes that leftover check, restoring the intended deep
  equality semantics.

Signed-off-by: RuksH4n <77233680+rukshanchamindu@users.noreply.github.com>
2025-09-13 12:47:16 +02:00
RuksH4n df7a6b9c21 fix(table): restore expected behavior in table_matches (#49)
- The refactor in [Commit 4c460e0](https://github.com/CommunityOx/ox_lib/commit/4c460e0bd9792f6d337378968c84cf85d4033052) introduced stricter type checks (using table.type and array length comparison), which caused empty tables and tables with nil values to be considered unequal. 
- This commit removes the strict shape checks and restores the original deep equality semantics, ensuring {} == {x=nil}.

Signed-off-by: RuksH4n <77233680+rukshanchamindu@users.noreply.github.com>
2025-09-10 14:17:44 +02:00
github-actions faa9dda57f chore: bump version to v3.31.4 v3.31.4 2025-09-09 16:48:13 +00:00
Swellington Soares 619ecc9e55 feat(imports/dui): added mising dui methods (#47) 2025-09-09 18:47:01 +02:00
Maximus7474 56c0a91022 feat(imports/logger): add definable dataset for fivemanage logging (#45) 2025-09-04 18:48:50 +02:00
PotatoFarmer441 d6417b9a84 fix(zones): set zone distance on creation (#44)
* fix(zones): set zone distance on creation

Signed-off-by: PotatoFarmer441 <helioau@live.com.au>

* Update shared.lua

Signed-off-by: PotatoFarmer441 <helioau@live.com.au>

---------

Signed-off-by: PotatoFarmer441 <helioau@live.com.au>
2025-08-30 13:39:20 +02:00
github-actions ac9625d33a chore: bump version to v3.31.3 v3.31.3 2025-08-18 12:00:25 +00:00
Zoo 2ab9114d2f chore(package/index): export addKeybind function (#40) 2025-08-18 13:58:42 +02:00
github-actions 88c68c7068 chore: bump version to v3.31.2 v3.31.2 2025-08-18 11:45:57 +00:00
PaPi 1e178180bb chore(locales): update fr.json (#38) 2025-08-18 13:45:14 +02:00
Zoo fef441c456 feat(package/addKeybind): add keybind to ts package (#39) 2025-08-18 13:30:43 +02:00
github-actions 85a3879a03 chore: bump version to v3.31.1 v3.31.1 2025-08-12 14:45:04 +00:00
mikigoalie 65813e75e6 feat(imports/table): add table.map (#35) 2025-08-12 16:42:57 +02:00
David Malchin a9648fb45f fix(points): grid inconsistencies (#37) 2025-08-10 02:20:46 +02:00
github-actions dec6caa63b chore: bump version to v3.31.0 v3.31.0 2025-07-26 17:59:55 +00:00
mikigoalie 967682c449 fix(web/notifications): bottom center position (#33) 2025-07-26 16:07:52 +02:00
Luca 301ff2daf8 feat(interface/input): add size to input dialog options (#32) 2025-07-26 14:34:01 +02:00
ANTOND. fd8d65166b fix(interface/input): add min and max length props to input type (#31) 2025-07-23 17:10:57 +02:00
ANTOND. 581640c07a feat(web/dialog/textarea): add min and max length (#30) 2025-07-15 21:51:52 +02:00
Mustafa Burak Güneş 9fbf0222ad fix(resource/cache): skip cache updates during ped transitions (#28)
also fixes an issue with cache not being set correctly when weapon hash is a negative number
2025-07-09 18:59:19 +02:00
Laica Lunasys 753d3eb025 chore: use nativewrappers/fivem instead of client (#25) 2025-06-30 15:59:34 +02:00
andreutu 815caddb02 fix(client/interface): add missing warning notify type in npm package (#23) 2025-06-08 15:01:32 +02:00
github-actions 3c5d5faa9f chore: bump version to v3.30.10 v3.30.10 2025-05-29 11:17:05 +00:00
uShifty ae640729ca fix(shared): Improper import of context (#18) 2025-05-27 11:18:45 +02:00
github-actions 3c405250b0 chore: bump version to v3.30.9 v3.30.9 2025-05-18 13:25:19 +00:00
ANTOND. 7375e4054d docs: update cfxlua extension url (#16) 2025-05-18 14:45:54 +02:00
ANTOND. 22b3600a14 fix(web): re-apply patch for react-hot-toast (#13) 2025-05-18 14:32:22 +02:00
github-actions b5fdd8a160 chore: bump version to v3.30.8 v3.30.8 2025-05-15 22:26:37 +00:00
EdwardandEdward ba790f9830 feat(imports/getClosestPlayer): Implement ignorePlayerId on the server (#11)
Co-authored-by: Edward <24864616+Edward-Bakker@users.noreply.github.com>
2025-05-07 20:40:33 +02:00
Mats 9ec43862a2 chore(locales): update norwegian translation (#10) 2025-05-05 05:56:38 +02:00
ANTOND. 2d2575963d ci(create-release): bump version before running build script (#9) 2025-05-04 20:03:35 +02:00
uShifty 8039539158 feat(package/getNearbyVehicles): Implement getNearbyVehicles (#8) 2025-05-04 18:00:08 +02:00
Sergio f59beb2af6 feat(imports/marker): Added invert property (#4)
MarkerType alias was replaced for an enum.
The type property in MarkerProps class is now optional, MarkerType or an integer (UpsideDownCone if missing).
The properties inside color are now defined as integers.
Added invert property, documented by CFX as drawOnEnts.
Added marker_mt metatable that stores default properties and draw method.

Signed-off-by: Sergio <89666307+feelfreetofee@users.noreply.github.com>
2025-05-04 17:59:18 +02:00
Zoo ab0dac8fde chore(package/interface): add label to progressCircle (#2) 2025-05-04 17:59:02 +02:00
Zooandtoshko 4491ad3599 fix(zones/shared): ensure safe removal of zones from entering and exiting lists (#1)
Co-authored-by: toshko <toshko0003@gmail.com>
2025-05-04 17:58:50 +02:00
ANTOND. a9728663ca ci(create-release): use github app token 2025-05-04 01:50:09 +02:00