Commit Graph

312 Commits

Author SHA1 Message Date
Linden
1dd9bd3e86 chore: add gitignore to forcibly keep cache directories
Since people (or terrible GSPs) keep blocking any directory
named cache no matter where it exists by default.
2024-04-06 16:58:59 +11:00
Linden
77c34b8699 feat(settings): toggle notification audio 2024-04-03 14:58:35 +11:00
Linden
dbbb4b6563 refactor(notify): minor cleanup for notification audio 2024-04-03 14:56:08 +11:00
Ethan
5e6db9d024 feat(client/notification): add support for native audio sounds (#455) 2024-04-03 14:48:08 +11:00
Linden
44b41973b8 fix(locale): trigger setLocale in locale module 2024-04-02 17:00:59 +11:00
Linden
2d4e56d828 feat(settings): add ox_lib command and user-selected locales
Resolves #435.
2024-04-01 19:19:59 +11:00
Linden
1e3b2cb567 feat(locale): locale hotloading 2024-04-01 19:16:53 +11:00
Linden
09ca963f26 refactor(resource): load extra modules 2024-04-01 19:15:04 +11:00
Andy
0e00ff57ff refactor(client/progress): sync props with statebags (#515)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2024-03-19 18:01:23 +11:00
ANTOND
591fb022f9 feat(interface): add locales for progress and radial menu (#509) 2024-03-16 04:41:06 +11:00
Abdelouahed TOUIMI
abb2868bae feat(interface/progress): add allowSwimming option (#516) 2024-03-16 04:34:11 +11:00
Lily
71b30b928d feat(web/select): searchable option (#513) 2024-03-10 14:06:11 +01:00
xSamiVS
d8578281ee feat(web/textui) bottom center position(#507) 2024-03-09 11:04:18 +01:00
ktx-mega
78891fb4b9 feat(web): support icon urls in radial menu (#487)
* feat(package): support icon urls in radial menu

* fix: update lua & ts types + clamp size parameters
2024-02-18 12:11:40 +01:00
RIOT
945b535943 chore(client/context): add readOnly field (#474) 2024-02-17 12:11:31 +01:00
BerkieBb
4e8614b0ed fix(interface/input): clearable lua type (#498) 2024-02-17 22:10:05 +11:00
Flávio Pereira
a2d4322a4a fix(notify): missing iconAnimation type (#500) 2024-02-17 22:09:26 +11:00
iSentrie
4c8b3a8636 feat(client/progress): disable sprinting (#473) 2023-12-24 16:09:12 +11:00
Linden
80a2a7c39d feat(locale): add lib.getLocale for sharing locales between resources 2023-12-09 19:28:01 +11:00
mikigoalie
79e5adda7c feat(client/textui): add text return to isTextUIOpen (#464) 2023-12-07 07:36:37 +11:00
Luke
a50f7a2052 feat(web): ability to align icon at the top for notifs/text ui 2023-11-15 14:36:37 +01:00
Luke
b6890e3b56 fix(interface/radial): don't allow weapon melee while open
resolves #447
2023-11-11 12:05:17 +01:00
Zaps6000
dfe02dc1c4 fix(client/menu): don't call HudWeaponWheelIgnoreSelection for RedM
* Update menu.lua

* Update menu.lua
2023-11-03 15:34:10 +01:00
Lunar-Scripts
fe94c5be7a fix(client/vehicleProperties): Fix error on gameBuilds below 2372 (#417) 2023-09-19 19:59:59 +10:00
Linden
abfacee33c refactor(client/vehicleProperties): disable SetVehicleAutoRepairDisabled
People can just call this themselves.
Sick of complaints about extras.
2023-09-13 00:13:05 +10:00
BerkieBb
3c0136afd8 feat(web/input): returnString for date inputs (#411)
* feat(interface/input): useFormat field

* feat(interface/input): useFormat field

* feat(types/dialog): useFormat field

* feat(components/date): format date conversion

* tweak(components/date): forgot other data type

* chore(interface/input): more descriptive name

* chore(interface/input): more descriptive name

* chore(types/dialog): more descriptive name

* tweak(components/date): reset things

* feat(dialog/input): date conversion with returnString

* refactor(web/input): remove unnecessary state

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2023-09-11 23:17:35 +02:00
Galuža moree
2fca9491ba fix(interface/input): add missing color type to typings (#407)
Add color option
2023-09-01 20:13:16 +02:00
Jellyton
0c072ef4f7 feat(client/vehicleproperties): add fixVehicle parameter (#392) 2023-08-15 10:40:35 +10:00
Luxu
a97b9ba054 fix(client/vehicleProperties): missing props and paint fixes (#396) 2023-08-15 10:37:27 +10:00
Linden
1bd6d7c5ff chore: .gitkeep cache directory
People like to use a global .gitignore.
2023-08-15 04:31:03 +10:00
Matin
088c2e094a feat(web/skillcheck): ability to cancel skillcheck (#364)
* - (FEAT) Added feature to cancel skillcheck
- (FEAT) Added feature to check is any active skillcheck

* - Fix hiding UI

* - return actual boolean

* - Fix focus does not reset properly

* Update skillcheck wrappers
2023-08-08 12:56:06 +02:00
Linden
05c9d335e8 refactor(client/cache): send oldValue to cache event 2023-08-02 14:19:23 +10:00
DokaDoka
6c5c763f67 feat(resource/zoneCreator): undo last point for poly zones
closes #346
2023-08-02 13:25:12 +10:00
Linden
9d98b9aada chore: types
mostly types anyway.
2023-07-31 16:29:27 +10:00
Linden
c6742eeae9 refactor(client/vehicleProperties): driftTyres and window tweaks
+ some notes about setting props from server.
2023-07-31 16:17:50 +10:00
Linden
4babb3fd46 refactor(resource/init): dynamic module loading 2023-07-31 16:17:50 +10:00
Diogo Manuel Coelho Morais dos Santos
2161694f84 fix(resource/radial): fix RadialItem type (#381) 2023-07-31 16:13:07 +10:00
Lukas Brūzga
f641881243 fix(client/setVehicleProperties): force clear custom colours (#375) 2023-07-23 13:14:44 +10:00
Jerry
588d26c421 fix(client/vehicleProperties): don't set modLivery if no livery exists (#374) 2023-07-23 13:14:03 +10:00
Jag
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
Linden
310b9720bc fix(client/zoneCreator): require input confirmation 2023-06-17 16:11:08 +10:00
Linden
1f76590b53 fix(version): report unknown versions during checkDependency
Rather than throwing potentially fatal and confusing errors we should
just report the current version as 'unknown'.
2023-06-13 00:36:17 +10:00
Linden
6cf53ddd68 fix(client/vehicleProperties): mods not applying 2023-05-28 15:02:54 +10:00
Linden
4e4b5bd570 fix(client/vehicleProperties): tonumber for extras and tyres
Sparse arrays sometimes json.decode with string keys, i.e.
`{[5] = 1, [10] = 1}` becomes `[null,null,null,null,1,null,null,null,null,1]`
`{[10] = 1, [11] = 1}` becomes `{"10":1,"11":1}`
2023-05-22 05:08:31 +10:00
Linden
b4edc5bac6 feat(client/vehicleProperties): support extra props
Add modKit and bulletProofTyres.
2023-05-22 03:38:36 +10:00
Linden
3bc9c3206d fix(client/vehicleProperties): missing tyres 2023-05-22 03:34:21 +10:00
Linden
c0ee1ae2f8 fix(client/vehicleProperties): SetVehicleExtra takes bool 2023-05-22 03:27:47 +10:00
Linden
dbfb0227aa refactor(cleint/textui): cancel showTextUI if text is unchanged
Because people continue to excessively call it in a loop.
2023-05-19 21:41:58 +10:00
Linden
991be22de5 fix(client/radial): disable pause menu while open 2023-05-18 21:02:27 +10:00
Linden
16875ca7e3 fix: type corrections 2023-05-18 15:38:53 +10:00