Commit Graph

1313 Commits

Author SHA1 Message Date
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
Linden
97365df94f refactor(streamingRequest): mention unreleased assets
Since 90% of FiveM developers do not release unused assets,
many people are starting to complain when streaming fails.
2024-04-16 14:25:50 +10:00
Linden
b2008ed804 feat(array): reduce method 2024-04-16 14:15:25 +10:00
Linden
01770187bc refactor(locale): set default locale in settings 2024-04-16 05:33:35 +10:00
Linden
6de82c3d6e feat(array): array class 2024-04-13 11:15:30 +10:00
Linden
774da8f755 fix(class): use rawset during instantiation
If classes use a __newindex method it may lead to unexpected behaviour.
2024-04-13 11:15:30 +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
Manifest Bumper
2569518602 chore: bump manifest version to v3.19.2 2024-04-11 05:08:16 +00:00
Linden
3e66dccb4b fix(init): prevent loading multiple instances of ox_lib
Resolves #545.
2024-04-11 15:03:41 +10:00
Linden
e0e2bcfd45 fix(fxmanifest): don't load require as shared_script
This will get loaded internally.
2024-04-11 14:55:51 +10:00
ANTOND
761b52a03b fix(requestScaleformMovie): use scaleform handle (#543) 2024-04-11 11:22:41 +10:00
Manifest Bumper
5c9c79a000 chore: bump manifest version to v3.19.1 2024-04-09 10:04:04 +00:00
Linden
fffdcd9999 fix(require/loadJson): correct path for json files 2024-04-09 20:02:35 +10:00
Domi
10ee931877 Update de.json (#540) 2024-04-08 14:32:15 +02:00
iSentrie
6e9f05bc41 chore(locale): update lt.json (#534)
* Update lt.json

* Update lt.json
2024-04-08 14:31:48 +02:00
Nuga
99ca361dac chore(locales): update et.json (#525) 2024-04-06 17:10:40 +02:00
Mads
bed000773b chore(locale): update no.json (#526) 2024-04-06 17:10:24 +02:00
dependabot[bot]
998fb3ba0d chore(deps): bump vite from 5.0.12 to 5.0.13 in /web (#535)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-06 17:05:08 +02:00