mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-23 03:18:36 +00:00
feat(commands): add a RegisterCommand wrapper
This commit is contained in:
1 parent
d0c5f722db
commit
b8ad392692
4 files changed
+53
-16
No files matched your search
+2
-1
@@ -3,7 +3,8 @@
|
||||
--- Alias for `exports['pe-lualib']`
|
||||
|
||||
lib = setmetatable({}, {
|
||||
__newindex = function(_, name, fn)
|
||||
__newindex = function(self, name, fn)
|
||||
exports(name, fn)
|
||||
rawset(self, name, fn)
|
||||
end
|
||||
})
|
||||
Reference in new issue
Block a user