Luke
5314b59e8b
feat(nui): Initial NUI files
2022-03-13 22:30:57 +01:00
Linden
3c7cd3dc6b
refactor(init): throw an error if ox_lib is not started
2022-03-10 15:54:13 +11:00
Linden
5c157db3e5
fix(callback): incorrect args in __call method
2022-03-04 10:35:14 +11:00
Linden
aeccbece09
refactor: rename imports
...
BREAKING!
Since the folder name determines the import name (i.e. lib.callbacks), use better names and lowerCamelCase.
2022-02-28 16:30:58 +11: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
d3ef7d5018
refactor: rename resource
2022-02-28 00:48:36 +00:00
Linden
40b7fe2a77
refactor(init): don't cache function refs
2022-02-28 08:35:32 +11:00
Linden
12d42b6881
feat(exports/entities): vehicle properties
2022-01-31 22:47:54 +11:00
Linden
72575c90ee
refactor(callbacks): remove the cb argument
...
BREAKING CHANGE: Registered callbacks now return values rather than sending them as a callback.
Previously the cb needed to be called to return to the client, now it will happen once the function closes. i.e.
cb(string, string, false) -> return string, string, false
2022-01-01 20:43:06 +11:00
Linden
2084897785
refactor(callbacks): randomise event callback and fix timer logic
...
Prevent any possibility of listening for server callback or conflicting event handlers on the client.
2022-01-01 02:26:42 +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
Linden
6b3af6f0d9
1.0.4 and onesync server constraint
2021-12-24 12:00:05 +11:00
Linden
ec1a98b83a
feat(keys): implement a DisableControlAction wrapper
2021-12-06 09:54:45 +11:00
Linden
1ad137b8c5
feat(init): add custom packing for metatables
...
Adds lib.unpack and lib.pack functions to the global lib table.
2021-11-25 01:00:12 +11:00
Linden
78fdee1132
chore: update readme and license
2021-11-16 11:15:59 +11:00
Linden
a4c06746c5
feat: add a version checker and bump to 1.0.1
...
Since this is being developed alongside other projects, adding a version checker is going to save some time.
2021-11-14 02:03:19 +11:00
Linden
ab4807fee0
refactor: remove modules system and fix indentation
...
Setting a "standard" module and resource structure is too limiting, so stick to import only.
2021-11-11 07:52:38 +11:00
Linden
bc5c7ad209
Add files via upload
2021-10-30 15:58:25 +11:00