Latest ESX code

This commit is contained in:
ElPumpo
2020-04-14 16:53:01 +02:00
parent 998b91e971
commit ffd21e2c93
+1 -1
View File
@@ -256,7 +256,7 @@ function OpenSaveableMenu(submitCb, cancelCb, restrict)
end, cancelCb, restrict)
end
AddEventHandler('playerSpawned', function()
AddEventHandler('esx:onPlayerSpawn', function()
Citizen.CreateThread(function()
while not playerLoaded do
Citizen.Wait(100)