Commit Graph

1321 Commits

Author SHA1 Message Date
uShifty
8039539158 feat(package/getNearbyVehicles): Implement getNearbyVehicles (#8) 2025-05-04 18:00:08 +02:00
Sergio
f59beb2af6 feat(imports/marker): Added invert property (#4)
MarkerType alias was replaced for an enum.
The type property in MarkerProps class is now optional, MarkerType or an integer (UpsideDownCone if missing).
The properties inside color are now defined as integers.
Added invert property, documented by CFX as drawOnEnts.
Added marker_mt metatable that stores default properties and draw method.

Signed-off-by: Sergio <89666307+feelfreetofee@users.noreply.github.com>
2025-05-04 17:59:18 +02:00
Zoo
ab0dac8fde chore(package/interface): add label to progressCircle (#2) 2025-05-04 17:59:02 +02:00
Zoo
4491ad3599 fix(zones/shared): ensure safe removal of zones from entering and exiting lists (#1)
Co-authored-by: toshko <toshko0003@gmail.com>
2025-05-04 17:58:50 +02:00
ANTOND.
a9728663ca ci(create-release): use github app token 2025-05-04 01:50:09 +02:00
github-actions
ce8a1ba50b chore: bump version to v3.30.7 v3.30.7 2025-05-02 14:32:43 +00:00
ANTOND.
17f38dfd31 ci(create-release): restructure and update versions 2025-05-02 16:31:52 +02:00
ANTOND.
9c9cb7e4e4 refactor: use bun instead of pnpm 2025-05-02 16:21:02 +02:00
ANTOND.
ff2f4c06f9 chore: update organization name 2025-05-02 15:44:52 +02:00
Malox
b4e3bcdad7 fix(callback/js): prevent args from being wrapped in an array when resolving the promise (#744) 2025-04-15 14:12:51 +10:00
ESK0
8d1677f397 fix(interval): Check if interval was cleared before invoking callback (#745) 2025-04-10 15:44:12 -07:00
MaxiFaxiPaxi
4de8a82fcb chore(locales): update german translations - de.json (#736)
Missing german translation at ui.settings.notification_position

Signed-off-by: MaxiFaxiPaxi <115405418+maxifaxipaxi-new@users.noreply.github.com>
2025-04-06 20:39:54 +02:00
Manifest Bumper
1b55a5187e chore: bump manifest version to v3.30.6 2025-04-06 07:56:43 +00:00
RrybaN
c27a526045 fix(resource/settings): prevent locale update if userLocales is false (#741) 2025-04-02 05:48:42 +11:00
Tom
c397963e84 fix(package/callback): fix broken js callbacks (#742)
This commit reverts commit 87818b3710.
2025-04-02 05:48:23 +11:00
Linden
924fe23431 chore: add NOTICE.md 2025-03-29 22:02:36 +11:00
Linden
cc6aed591f chore: adjust links 2025-03-29 21:46:58 +11:00
Linden
9946bf9c04 chore: add CONTRIBUTING.md 2025-03-29 21:15:21 +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
Manifest Bumper
dc6f7fa091 chore: bump manifest version to v3.30.5 2025-03-18 06:00:00 +00:00
Linden
f0df7ab696 refactor(web/fetchNui): fetch stub
Just a naive way to patch some common exploits.
2025-03-18 16:55:04 +11:00
Linden
ff2e765b60 fix(points): store all points within range in nearbyZones
Previously this only stored points with the nearby
method.
2025-03-18 05:36:57 +11:00
Manifest Bumper
d0db63e2ec chore: bump manifest version to v3.30.4 2025-03-17 15:41:32 +00:00
Linden
8509867abd refactor(callback/client): require source in response handler 2025-03-18 02:39:41 +11:00
Linden
6fcb83101f refactor(init): attempt to catch module errors from invalid installs
Since people continue to drag and drop updates
without clearing old files, then spend days or weeks
complaining about script errors.
2025-03-18 02:29:31 +11:00
Aaron
f5396edc78 fix(zones): trigger onExit when teleporting away from zones (#732) 2025-03-16 14:35:30 +11:00
Manifest Bumper
7efcc5c92d chore: bump manifest version to v3.30.3 2025-03-15 16:57:18 +00: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
87818b3710 fix(package/callback): format setValidCallback event name 2025-03-16 03:41:34 +11:00
Manifest Bumper
e1cf0e810e chore: bump manifest version to v3.30.2 2025-03-14 04:26:27 +00:00
Linden
b20130c998 fix(zones): ensure nearbyZones always updates 2025-03-14 15:25:28 +11:00
Linden
28729d7403 fix(grid): only returned cached grid entries if filter matches
Look into optimisations in the future.
2025-03-14 11:19:15 +11:00
Linden
4d8af3c31e fix(zones): update zone distance when checking contains
todo: consume caffeine
2025-03-14 10:11:08 +11:00
Linden
ae02b74878 fix(zones): correct contains check 2025-03-14 10:02:37 +11:00
Manifest Bumper
b97469ef91 chore: bump manifest version to v3.30.1 2025-03-13 10:15:21 +00:00
Linden
34fb03d783 fix(zones): don't trigger onEnter on grid change 2025-03-13 21:14:19 +11:00
Manifest Bumper
d2134bd644 chore: bump manifest version to v3.30.0 2025-03-13 08:33:10 +00:00
Linden
4188bd2596 feat(zones): add getNearbyZones 2025-03-13 19:31:21 +11:00
Linden
0b9f6e0cce refactor(grid): use an array to store nearby entries 2025-03-13 19:28:57 +11:00
Linden
5fb16444e6 refactor(client/progress): minor adjustment to duration check 2025-03-13 18:58:44 +11:00
CENSOR37
4690564755 feat(print): add convar change listener (#728) 2025-03-13 18:17:36 +11:00
ANTOND.
2a8ce3f4b0 fix(zones): correct zone data types (#729) 2025-03-13 18:17:10 +11:00
Linden
39ec1d3df5 feat(points): utilise the grid system 2025-03-10 16:42:00 +11:00
Linden
5a18b7e2d5 fix(grid): clear cached entries on change 2025-03-10 16:28:23 +11:00
Linden
caa9ed1d97 fix(zones): filter grid entries for zones 2025-03-10 14:28:29 +11:00
Linden
29f207edf9 feat(grid): add filtering to getNearbyEntries 2025-03-10 14:28:06 +11:00
Linden
105a079c09 feat(zones): utilise the grid system
This probably works, even.
2025-03-10 12:30:00 +11:00
Linden
534b1ab435 feat(grid): add a grid system
Based on mkafrin's grid used by PolyZone's ComboZones.
2025-03-10 12:29:14 +11:00
Linden
9e7750b3ba refactor(zones): improve types 2025-03-10 12:02:45 +11:00
Linden
9135e65009 refactor(zones): move to shared module 2025-03-10 11:52:20 +11:00