mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-21 11:38:33 +00:00
Fix QBCore OnPlayerUnload event not triggering
This commit is contained in:
1 parent
387c97de71
commit
17db5aa31a
1 file changed
+1
-1
+1
-1
@@ -83,7 +83,7 @@ end
|
||||
--- end)
|
||||
--- ```
|
||||
function onPlayerUnload(func)
|
||||
AddEventHandler('QBCore:Client:OnPlayerUnload', function() func() end)
|
||||
RegisterNetEvent('QBCore:Client:OnPlayerUnload', function() func() end)
|
||||
AddEventHandler('ox:playerLogout', function() func() end)
|
||||
AddEventHandler('RSGCore:Client:OnPlayerUnload', function() func() end)
|
||||
|
||||
|
||||
Reference in new issue
Block a user