OnPlayerUnload events

(untested) atm, will test later today
This commit is contained in:
MrNewb committed 2025-01-27 14:41:16 -05:00
1 parent 86800944fb
commit 65f4b32b45
4 files changed
+16

No files matched your search

+4
View File
@@ -257,6 +257,10 @@ Framework.RegisterUsableItem = function(itemName, cb)
QBCore.Functions.CreateUseableItem(itemName, func)
end
RegisterNetEvent("QBCore:Server:OnPlayerUnload", function()
TriggerEvent("community_bridge:Server:OnPlayerUnload", source)
end)
Framework.Commands = {}
Framework.Commands.Add = function(name, help, arguments, argsrequired, callback, permission, ...)
QBCore.Commands.Add(name, help, arguments, argsrequired, callback, permission, ...)