RrybaN
c27a526045
fix(resource/settings): prevent locale update if userLocales is false ( #741 )
2025-04-02 05:48:42 +11:00
Linden
cc6aed591f
chore: adjust links
2025-03-29 21:46:58 +11:00
Linden
fb2225e373
chore: add copyright notices to each file
...
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Linden
621c11f22b
refactor(callbacks): don't error when attempting to override an event
...
Throwing an error here will break some scripts, and
rather than fix their misuse many creators suggest downgrading ox_lib instead. Was technically breaking
anyway, even if kind of necessary.
2025-03-16 03:50:32 +11:00
Linden
5fb16444e6
refactor(client/progress): minor adjustment to duration check
2025-03-13 18:58:44 +11:00
Linden
12ef8e542f
fix(client/progress): check duration
2025-03-10 11:50:00 +11:00
Qotrek
e846d41f23
fix(zonecreator): vector formatting on some systems ( #683 )
2025-03-10 11:32:02 +11:00
Linden
b726faea2d
feat(callback): implement callback validation
...
Prevent callbacks from being overwritten by other resources.
Throw an immediate error if the callback does not exist.
2025-02-03 15:41:58 +11:00
Jag
648a13f749
fix(client/vehicleproperties): reset colors when changing painttype ( #692 )
2025-01-29 18:17:11 +11:00
Scully
d56c785a37
fix(vehicleProps): split modLivery from livery ( #699 )
2025-01-29 07:00:58 +11:00
BerkieBb
79f311a365
fix(menu): prevent opening empty menu ( #675 )
2025-01-20 02:06:25 +11:00
Noah
93e40acb31
fix(client/progress): playEnter arg for scenarios in progress bar ( #671 )
2025-01-17 18:26:00 +11:00
Mahan Moulaei
2b10e77622
refactor(resource/cache): update seat cache on vehicle change ( #679 )
2025-01-16 18:40:44 +11:00
Linden
e0f6f47cc7
refactor(client/vehicleProperties): check for tutorial session
2024-07-14 16:35:27 +10:00
Linden
c45aa0d893
feat(vehicleProperties): add statebag handler and server setter
2024-07-13 00:25:30 +10:00
faizy#6969
9ea2fdede7
fix(alertDialog): set timeout as optional parameter ( #580 )
2024-05-19 15:39:02 +10:00
Linden
43905bdd62
feat(interface/alert): support dialog timeout
...
closeAlertDialog will now error if a reason is passed.
Added timeout param to alertDialog.
Resolves #522 .
2024-05-08 05:23:27 +10:00
northsqrd
24cedb07ae
feat(interface/multi-select): add maxSelectedValues ( #563 )
2024-05-08 04:28:52 +10:00
xHorntail
9649ffaf67
refactor(interface/progress): allow rotation order for created props ( #564 )
2024-05-08 04:28:10 +10:00
RexshackGaming
113f5227e5
fix(interface/progress) don't use RegisterKeyMapping for redm( #560 )
...
stop redm error as RegisterKeyMapping does not exist
2024-04-27 15:35:23 +02:00
Linden
55d9ed1709
refactor(settings): safeGetKvp
...
If the kvp has an unexpected type for whatever reason, clear it.
2024-04-22 14:46:02 +10:00
Linden
196440250b
fix(settings): swapped variable order
...
Locale was moved.
2024-04-21 01:54:40 +10:00
Linden
b9452f9248
refactor(client/vehicleProperties): return true if client owns entity
...
Technically closer to the previous behaviour.
2024-04-20 10:28:21 +10:00
Linden
3df183653d
feat(settings): ox:userLocales convar
2024-04-20 07:07:11 +10:00
Linden
58021e70fd
refactor(client/vehicleProperties): remove entity owner check
...
May revert - let's see what happens.
2024-04-20 05:58:32 +10:00
Linden
3fc84398f6
refactor(settings): reset saved locales
2024-04-17 21:12:20 +10:00
Linden
01770187bc
refactor(locale): set default locale in settings
2024-04-16 05:33:35 +10:00
RrybaN
9d08560e91
feat(notify): show duration ( #542 )
...
* feat(notify): add option to show duration
lib.notify new option
`showDuration?: boolean -- Option to show duration bar`
* fix(notify): allow icon color using hexadecimal values
* chore(notify): show duration to default and added tinycolor2 for supporting available color formats
* feat(notify): define interface for showDuration
2024-04-12 17:15:57 +02:00
Linden
468a4d820f
feat(settings): notification position
2024-04-12 09:45:49 +10:00
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