Linden
c59b675efa
Revert "fix(imports/logger): loki indexing for varargs ( #583 )"
...
This reverts commit 7e67b57e2d .
2024-05-30 22:54:50 +10:00
Manifest Bumper
8712c9b0c9
chore: bump manifest version to v3.22.1
2024-05-22 23:42:35 +00:00
Linden
2909cb5db6
refactor(callback): warn if callback function is nil/false
...
Between the headache of people misusing callbacks
and people complaining about third-party resources
that misused them, I would rather just shut them up.
I'll just deprecate this crap at some point anyway.
2024-05-23 09:41:24 +10:00
Manifest Bumper
d147e70c77
chore: bump manifest version to v3.22.0
2024-05-22 21:21:08 +00:00
Linden
f0009f0bc8
refactor(callback): assertions
...
Both client and server callbacks will check if "cb" is a function, to
reduce the number of people using callbacks as a replacement for
events.
Server->client callbacks will now check if the target playerId exists,
as people apparently use it for unintended values (i.e. -1).
2024-05-22 16:36:22 +10:00
Linden
a40be54a9e
refactor(callback): increase default timeout
2024-05-21 05:50:06 +10:00
synth444
080a9c2442
feat(table/merge): add option to replace duplicate number keys ( #581 )
2024-05-21 05:48:32 +10:00
Mirco T
7e67b57e2d
fix(imports/logger): loki indexing for varargs ( #583 )
2024-05-21 05:47:47 +10:00
ANTOND
c4ad7da3d2
chore(types): optional param in getClosestPlayer ( #577 )
2024-05-19 15:39:19 +10:00
faizy#6969
9ea2fdede7
fix(alertDialog): set timeout as optional parameter ( #580 )
2024-05-19 15:39:02 +10:00
Linden
c2efb22e38
refactor(class): mark mixins.new as protected
2024-05-19 15:33:16 +10:00
Linden
9a2a911b2a
fix(streamingRequest): remove @package annotation
...
Annoying warnings.
2024-05-19 14:37:31 +10:00
Linden
8b0359071b
fix(math): torgba types and alpha value
2024-05-14 19:21:47 +10:00
Linden
0b13a56071
fix(package/locale): sync behaviour with Lua
2024-05-14 18:19:26 +10:00
Manifest Bumper
8080fa1474
chore: bump manifest version to v3.21.0
2024-05-09 20:49:42 +00:00
WindoX
44d125c9bf
chore(locales): create pt.json ( #575 )
2024-05-10 06:47:47 +10:00
Maciej Ratyński
fb6ac76a9d
chore(locales): update pl.json ( #574 )
2024-05-10 06:47:26 +10:00
Domi
62c6d5a5d0
chore(locales): update multiple languages ( #573 )
2024-05-10 06:47:06 +10:00
Linden
7ada4c253a
chore(fxmanifest): remove comments
2024-05-08 08:40:53 +10:00
Linden
ae005e73eb
fix(math): math.interp return type should be T
2024-05-08 05:47:40 +10:00
Linden
858a94e7ec
feat(math): expose interpolate function as math.interp
2024-05-08 05:46:57 +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
Linden
b1cb2142f0
feat(raycast): add fromCoords method
2024-05-08 05:00:33 +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
Mas
a3952a0d3b
refactor(raycast): smoother raycast during camera movement ( #569 )
2024-05-08 04:27:00 +10:00
Austin Dunn
851df5bead
feat(math): linear interpolation ( #570 )
...
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com >
2024-05-04 23:46:02 +10:00
Linden
2166b076da
feat(callback): add timeout to callback events
...
Should help when people await broken or unregistered events.
Defaults to 60 seconds, adjusted with convar ox:callbackTimeout.
2024-05-03 15:49:33 +10:00
wx
8bb0587b39
chore(locale): update cs.json ( #551 )
2024-05-02 16:22:36 +10:00
RrybaN
88edfbe89a
fix(web/notify): prevent resetting the notifications circle without an id ( #566 )
2024-05-02 16:10:27 +10:00
Jarosław
d102f2a165
fix(array): array:findIndex should return index ( #565 )
2024-05-02 16:07:25 +10:00
404
fcf198b21f
fix(timer): add async argument to restart method ( #567 )
2024-05-02 16:06:12 +10:00
deFuzz
75f4ecbbea
fix(class): fixed private access in method calls ( #553 )
...
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com >
2024-04-28 12:08:15 +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
RrybaN
8bb3b5a835
fix(notify): reset circle animation on notification re-trigger with id ( #559 )
...
Resolves #554
* fix(notify): prevent duration not showing in notifications with id
* fix(notify): add toast key to reset circle animation
* refactor(web/notify): use ref for key counter instead of state
---------
Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com >
2024-04-27 15:33:34 +02:00
Mads
8261156c53
chore(locale): update no.json ( #555 )
2024-04-24 01:40:54 +10: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
Manifest Bumper
a8df465133
chore: bump manifest version to v3.20.0
2024-04-20 15:57:18 +00: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
3959f76aae
refactor(timer): adjust module return and types
2024-04-20 06:55:56 +10:00
Linden
b6632ad789
refactor(locale): merge locales with english definitions
...
Also sync some recent changes in the TS module.
2024-04-20 06:42:28 +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
18f8e89cb4
feat(array): isArray method
2024-04-19 03:09:39 +10:00
Linden
dcdfe6e442
fix(class): private access in method calls
...
Maybe there's better ways, but if it works..?
2024-04-18 23:19:09 +10:00
Austin Dunn
75b7c2a724
feat(imports): timer module ( #539 )
2024-04-18 14:54:09 +10:00
Linden
56267448ce
feat(imports/client): playAnim
2024-04-18 02:13:22 +10:00
Linden
fb5bd87dc2
refactor(streaming): bump default timeout
...
There's no point trying to argue with people who rely on
faulty behaviour and race conditions.
2024-04-18 01:28:11 +10:00
Linden
3fc84398f6
refactor(settings): reset saved locales
2024-04-17 21:12:20 +10:00