diff --git a/client/framework.lua b/client/framework.lua index dcc08d8..8e8d1f2 100644 --- a/client/framework.lua +++ b/client/framework.lua @@ -28,7 +28,7 @@ AddEventHandler('QBCore:Client:OnPlayerLoaded', function() initalizeBanking() end) -AddEventHandler('esx:playerLoaded', function(xPlayer) +RegisterNetEvent('esx:playerLoaded', function(xPlayer) Wait(100) FullyLoaded = true initalizeBanking()