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
@@ -233,6 +233,10 @@ Framework.SetMetadata = function(src, item, slot, metadata)
|
||||
return player.Functions.AddItem(item, 1, slot, metadata)
|
||||
end
|
||||
|
||||
RegisterNetEvent("QBCore:Server:OnPlayerUnload", function()
|
||||
TriggerEvent("community_bridge:Server:OnPlayerUnload", source)
|
||||
end)
|
||||
|
||||
-- Framework.RegisterUsableItem(item, cb)
|
||||
-- Registers a usable item with a callback function.
|
||||
Framework.RegisterUsableItem = function(itemName, cb)
|
||||
|
||||
Reference in new issue
Block a user