10 Commits
Author SHA1 Message Date
Jag 648a13f749 fix(client/vehicleproperties): reset colors when changing painttype (#692) 2025-01-29 18:17:11 +11:00
Jag f255d99215 feat(math): add math.round function (#603) 2024-06-26 16:06:31 +10:00
JagandLuke 65a799071a chore: various fix-ups from docs clean-up (#363)
- Add in missing js functions
  - getCurrentRadialId
  - requestScaleformMove
- Change up math.tohex to maintain lowercase `0x` prefix
- Add missing fields
- Removed extra whitespaces

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-07-21 13:54:29 +02:00
Jag bda2c2657a feat(web/radial): newlines support (#316)
* feat(radial): Support newlines

* chore: update to `  \n` to match markdown
2023-05-01 11:07:17 +02:00
JagandLuke 34022ce81e fix(web/menu): combine initial select and first render checks (#172)
* fix(web/menu): Combine initial select and first render

* Combining these checks should fix an issue of having to toggle a checkbox multiple times before it is recognized as being toggled

* Change firstRenderRef current value before first menu movement

* Too many async on change functions are happening let's handle this once the user decides to interact with the menu

* fix(web/menu): remove first render ref check for onSelected

Co-authored-by: Luke <sabolukas03@gmail.com>
2022-12-14 18:59:49 +01:00
Jag de23227ea7 fix(web/menu): move firstRengerRef check earlier in the function (#145)
* This fixes a case where, if the first option selected in a menu doesn't have side scroll values, the first time that you *did* side scroll on an item in that menu it would no trigger onSideScroll
2022-10-29 10:11:40 +02:00
Jag 3db5ccc86d fix(notification): Notification id now works as documentation states (#78)
* `id` was being checked for but never got set on the toast so you'd continue to get duplicate messages even if `id` was set
2022-08-26 18:37:28 +02:00
Jag 99cab6d072 feat(imports): getClosestVehicle and getNearbyVehicles (#71) 2022-08-16 17:34:49 +10:00
JagandLinden c6250b6d5a feat(client/progress): add interrupt options (#70)
Add the ability to specify if an action can be interrupted. Options that I've thought of off the bat are ped going ragdoll or ped being handcuffed.

Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2022-08-16 17:22:05 +10:00
Jag 3c82b654ff feat(addCommand): Allow multiple groups (#57) 2022-07-12 18:50:01 +10:00