mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-18 22:36:04 +01:00
Fix QBCore OnPlayerUnload event not triggering
This commit is contained in:
@@ -83,7 +83,7 @@ end
|
|||||||
--- end)
|
--- end)
|
||||||
--- ```
|
--- ```
|
||||||
function onPlayerUnload(func)
|
function onPlayerUnload(func)
|
||||||
AddEventHandler('QBCore:Client:OnPlayerUnload', function() func() end)
|
RegisterNetEvent('QBCore:Client:OnPlayerUnload', function() func() end)
|
||||||
AddEventHandler('ox:playerLogout', function() func() end)
|
AddEventHandler('ox:playerLogout', function() func() end)
|
||||||
AddEventHandler('RSGCore:Client:OnPlayerUnload', function() func() end)
|
AddEventHandler('RSGCore:Client:OnPlayerUnload', function() func() end)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user