OnPlayerUnload events
(untested) atm, will test later today
This commit is contained in:
1 parent
86800944fb
commit
65f4b32b45
4 files changed
+16
No files matched your search
@@ -207,6 +207,10 @@ Framework.RegisterUsableItem = function(itemName, cb)
|
||||
ESX.RegisterUsableItem(itemName, func)
|
||||
end
|
||||
|
||||
RegisterNetEvent("esx:playerLogout", function()
|
||||
TriggerEvent("community_bridge:Server:OnPlayerUnload", source)
|
||||
end)
|
||||
|
||||
Framework.Commands = {}
|
||||
Framework.Commands.Add = function(name, help, arguments, argsrequired, callback, permission, ...)
|
||||
ESX.RegisterCommand(name, permission, function(xPlayer, args, showError)
|
||||
|
||||
Reference in new issue
Block a user