Commit Graph

311 Commits

Author SHA1 Message Date
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