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
Linden
34fb03d783
fix(zones): don't trigger onEnter on grid change
2025-03-13 21:14:19 +11: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
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
Linden
c9b7c375ee
refactor(array): add generic to class type
2025-03-10 11:51:48 +11:00
Stan
68210b2a59
fix(zones): Fix error that occurs when there are no duplicate z-coords ( #723 )
2025-03-10 11:28:05 +11:00
Dimmies
024b392fdd
fix(client/zones): fix nil error when multiple zones are removes at once ( #726 )
...
Signed-off-by: Dimmies <dimmiestv@gmail.com >
2025-03-10 11:23:50 +11:00
Slyy
cf5423e42f
feat(table): added table.shuffle ( #718 )
2025-03-07 15:16:42 +11:00
Dolu
f4f1596ff6
feat(relativeCoords): allow passing full rotation ( #703 )
2025-02-12 14:51:57 +11:00
Judd
a4978804a2
feat(cron): add maxDelay property to control task execution delay ( #708 )
2025-02-11 20:15:29 +11:00
Linden
cbca5b7951
fix(scaleform): missing types
2025-02-08 18:02:14 +11:00
Linden
aa2f761a34
fix(scaleform): invalid private property access
...
Adds an isDrawing and draw method to scaleforms.
So technically a feature I guess.
2025-02-08 13:14:51 +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
Rafael
5c0239be06
feat(relativeCoords): add lib.getRelativeCoords function ( #685 )
2025-01-31 10:23:08 +11:00
Codexis
c1ccd767ff
feat: scaleform class ( #698 )
2025-01-31 09:57:47 +11:00
Linden
189306d5aa
fix(array): Array.from string delimiter
2025-01-29 08:02:06 +11:00
Linden
6a24f9b971
fix(array): format error message
2025-01-29 07:13:16 +11:00
hakanesnn
7076f19c9b
fix(cron): matching weekdayMap with os.date ( #700 )
2025-01-29 07:00:20 +11:00
Linden
45b045a37e
feat(array): additional methods
2025-01-29 06:54:06 +11:00
Linden
d0a0f34018
fix(timer): set initial value of triggerOnEnd to true
2025-01-28 06:47:48 +11:00
Linden
769fa35f38
fix(timer): redefine local function as method
...
The previous commit added a private property, but they
cannot be set outside of class methods. Added an error
when starting a running timer, too.
2025-01-26 05:20:23 +11:00
Linden
8af94a7194
feat(class): allow private to be redefined
...
Allows self.private to defined as a new table, allowing it to
remain empty without being removed after instantiation.
Resolves #696 .
2025-01-26 04:05:29 +11:00
Linden
0192fd015b
fix(array): indexOf return value
2025-01-21 11:33:15 +11:00
Linden
728d20c079
fix(timer): re-enable onEnd after stopping a timer
...
Resolves #667 .
2025-01-20 02:24:00 +11:00
Linden
99fb752d30
fix(callback): support __call metatables as cb function
...
Resolves #668 .
2025-01-20 02:10:09 +11:00
NotSomething0
ebddb35b00
fix(marker): logical error when setting faceCamera ( #686 )
...
Due to the way boolean values were being assigned, faceCamera would
always evaluate to true because of its default value. This change fixes
the logical error and ensures boolean properties are properly set.
2025-01-20 02:07:03 +11:00
Linden
356e560a5d
fix(client/zones): use arrays for temporary zone tables
...
Resolves #682 .
2025-01-20 02:04:21 +11:00
Judd
cb6792ed58
fix(cron): prevent duplicate executions and enhance type safety ( #690 )
2025-01-20 01:20:09 +11:00
Stan
d142d8d2ee
fix(table): respect falsey value for addDuplicateNumbers ( #672 )
2025-01-16 20:19:48 +11:00
Linden
d4bb2ab7b3
fix(table): regression in contains
...
Other changes are just whitespace.
2024-10-16 09:08:18 +11:00
Ceeb
24b2d62235
feat(client/dui): implement dui handling ( #650 )
2024-10-14 16:55:15 +11:00
Linden
e61febf7de
refactor(streaming): change error message and default timeout
2024-10-06 03:25:17 +11:00
Linden
a2a7114986
feat(array): add additional array class methods
...
- merge now supports merging multiple arrays.
- added includes, map, reverse, toReversed.
2024-10-01 18:53:05 +10:00
Guru Saran
4c460e0bd9
refactor(table): improve performance of contains, matches, and merge ( #647 )
2024-10-01 18:51:52 +10:00
Geden420
7bd22441ff
feat(client/keybinds): added isPressed state for keybinds ( #643 )
2024-09-16 17:45:46 +10:00
Linden
133a9905b2
Revert "refactor(streamingRequest): wait 10 years for assets to load"
...
This reverts commit 03db59cce5 .
This was sarcasm btw. I still hate you people.
2024-08-13 14:12:42 +10:00
Linden
03db59cce5
refactor(streamingRequest): wait 10 years for assets to load
...
Helps with issue #630 by waiting for assets to become available.
Enjoy the random side-effects this will lead to, like vehicles suddenly
loading 20 minutes after you requested the asset and then teleporting
you into them.
This is clearly the only solution.
2024-08-13 12:47:39 +10:00