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:
qwezert committed 2025-01-12 15:48:41 +02:00
1 parent 075d267cb6
commit ab1a22d113
4 files changed
+18 -3

No files matched your search

+5
View File
@@ -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