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
Manifest Bumper
9815e841a8
chore: bump manifest version to v3.19.0
2024-04-06 13:46:44 +00:00
Christopher
eb31c4d83c
feat(imports/logger): add fivemanage as logging option ( #536 )
2024-04-07 00:43:38 +11:00
Linden
e476736761
feat(server): triggerClientEvent with multi-target support
...
Since that once fivem PR is forever pending review.
2024-04-06 20:00:33 +11: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
1ff845a451
refactor(require): cleanup and improve debug info
2024-04-06 15:59:26 +11:00
Linden
56b99a7657
refactor(require): improve module resolution and debugging info
...
- Improved error messages.
- Include checked file paths on failed module resolution.
- Moved repeated code into separate functions.
- Workaround for incorrect "circular-dependency" error.
- Added additional package.path "./?/init.lua".
- Added support for package.searchers.
2024-04-05 21:53:48 +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
Linden
1922c8a8ec
refactor(requestAudioBank): return string
2024-04-03 14:55:10 +11:00
Linden
1e30dd4c89
fix(streamingRequest): missing return value
2024-04-03 14:48:18 +11:00
Ethan
5e6db9d024
feat(client/notification): add support for native audio sounds ( #455 )
2024-04-03 14:48:08 +11:00
Linden
1ab6d3dd00
fix(streamingRequest): missing asset name in error message
2024-04-02 17:02:46 +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
Linden
989462da7d
feat(imports/server): getFilesInDirectory
2024-04-01 19:13:51 +11:00
Linden
0f0c7a6591
refactor(streamingRequest): internal method for request functions
...
- TS package type inference for request functions.
- Type fix for Lua's waitFor callback.
- Lua request functions cannot return nil.
2024-03-31 16:15:44 +11:00
Manifest Bumper
e3ece4f337
chore: bump manifest version to v3.18.0
2024-03-27 03:30:01 +00:00
Linden
5868649d18
fix(package/streaming): return promise from streamingRequest
2024-03-27 14:27:33 +11:00
Linden
1456f4493e
refactor(class): remove support for class.init
2024-03-25 20:48:09 +11:00
Linden
e031f19bea
refactor(class): improve types
2024-03-25 20:14:49 +11:00
ANTOND
10db769f41
fix(types): optional params in getClosest* ( #519 )
2024-03-19 18:01:52 +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
GiroudMathias
f4d43e533d
feat(client/marker): add marker options ( #520 )
...
add BobUpAndDown, FaceCamera, Rotate, Texture for markers
2024-03-18 18:52:34 +11:00
Linden
2190cd32f4
refactor(waitFor): use GetGameTimer to timeout callbacks
...
Corrected error message output to ms.
Resolves #518 .
2024-03-18 18:48:57 +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
Linden
50d957c1d1
refactor(package/interface): import CSSProperties from csstype
2024-03-16 04:30:02 +11:00
Manifest Bumper
19ce031145
chore: bump manifest version to v3.17.0
2024-03-12 13:04:34 +00:00
Linden
356f46d7ef
fix(class): only show warning if constructor is undefined
2024-03-13 00:01:17 +11:00
Linden
d105ebe7fe
refactor(class): improve types
2024-03-12 19:54:33 +11:00