Linden
35e4bc7509
perf(cache): check vehicle every second tick
2022-03-13 03:21:33 +00:00
Linden
13c8c29811
refactor: change event names from lualib to ox_lib
2022-03-13 03:21:01 +00:00
Linden
cdc7523146
fix(cache): ped not triggering update event
2022-03-02 02:28:10 +00:00
Linden
b37e9f772f
refactor(cache): save seat index instead of driver
2022-03-01 13:22:52 +00:00
Linden
f8d68df5e9
feat(cache): add lib.cache and update event
2022-03-01 12:28:04 +00:00
Linden
adf08e44b8
chore: move files, add docs link
2022-03-01 10:55:46 +00:00
Linden
6aeda78428
fix(vehicleproperties): save correct tyre damage
2022-02-28 07:20:46 +00:00
Linden
e83aa653cc
refactor(init): call imports and exports via lib
...
Deprecate import (now just references lib); when calling or indexing
lib for the first time, attempt to load a module else call an export.
2022-02-28 02:40:25 +00:00
Linden
37032fe0dd
feat(states): WIP handler for cacheing and setting states
...
Provide a centralised non-framework dependent interval to
track and perform tasks based on certain variables, such as
if the player is driving, in a vehicle, or walking.
Will later add a statebag change handler with callbacks, to
easily listen for state changes and use them in third-party
resources.
2022-02-28 00:49:44 +00:00
Linden
478cd93e97
feat(version): version and dependency checks
2022-02-28 00:49:24 +00:00
Linden
75fa709200
feat(vehicleproperties): save broken windows, doors, and tyres
2022-02-28 08:08:22 +11:00
Linden
167938c7f1
feat(acl): add exports to set acl permissions
...
Needing to grant multiple resources permissions to use this commands is no bueno.
2022-02-28 08:07:52 +11:00
Linden
4c70dbe64d
feat(exports/entities): persistent window state (smashed/intact)
2022-01-31 23:50:12 +11:00
Linden
12d42b6881
feat(exports/entities): vehicle properties
2022-01-31 22:47:54 +11:00
Linden
b8ad392692
feat(commands): add a RegisterCommand wrapper
2021-12-30 02:25:29 +11:00
Linden
d0c5f722db
refactor(init): export cache and update intervals
...
BREAKING CHANGE: lib will store cached export functions and no longer uses the : syntax to call functions.
Allow SetInterval to return arguments to the callback function.
2021-12-27 12:19:37 +11:00
DokaDoka
b935d9b58c
fix(resource/streaming): don't use HasModelLoaded for everything
2021-12-24 11:36:16 +11:00
DokaDoka
cb0b99e147
fix(resource/streaming): print default when limit is nil
2021-12-24 09:42:14 +11:00
DokaDoka
34bd55e4a6
feat(resource/streaming): set timeout length and return requested item on success ( #4 )
...
* feat: set timeout length
* fix: adjust variable names and set default to 100 ticks
* fix: make timeout local again
2021-12-12 14:14:06 +11:00
DokaDoka
a17a8c464b
fix(resource/streaming): use correct variable names
2021-11-17 19:33:48 +11:00
Linden
6c2658c302
feat(resource/streaming): timeout functions after 20 ticks
2021-11-17 03:37:59 +11:00
Linden
55a857fbf8
chore: vscode is dumb
...
all these spaces make a tab
2021-11-16 19:37:36 +11:00
Linden
ede02fb1b4
feat(resource): setup streaming exports and placeholders
...
Naturally I have not tested any of these.
2021-11-16 11:16:34 +11:00
Linden
52a3623e0e
feat: add lib table for exports
...
Anything assigned to the table will be exported; it's just a hacky way to provide support for Lua Language Server.
2021-11-16 11:15:34 +11:00