mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
Fix QBCore OnPlayerUnload event not triggering
This commit is contained in:
@@ -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