fix add access to core Shared table for qb-core, fix small typos, fix position for ox notify, add api to core Commands for qb-core
This commit is contained in:
1 parent
075d267cb6
commit
ab1a22d113
4 files changed
+18
-3
No files matched your search
@@ -244,4 +244,9 @@ end
|
||||
-- Registers a usable item with a callback function.
|
||||
Framework.RegisterUsableItem = function(item, cb)
|
||||
QBCore.Functions.CreateUseableItem(item, cb)
|
||||
end
|
||||
|
||||
Framework.Commands = {}
|
||||
Framework.Commands.Add = function(name, help, arguments, argsrequired, callback, permission, ...)
|
||||
QBCore.Commands.Add(name, help, arguments, argsrequired, callback, permission, ...)
|
||||
end
|
||||
Reference in new issue
Block a user