Latest ESX code

This commit is contained in:
ElPumpo
2020-04-14 16:51:46 +02:00
parent 29cbe64298
commit d96cf29e5a
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -669,7 +669,7 @@ AddEventHandler('instance:loaded', function()
end)
end)
AddEventHandler('playerSpawned', function()
AddEventHandler('esx:onPlayerSpawn', function()
if firstSpawn then
Citizen.CreateThread(function()
while not ESX.IsPlayerLoaded() do