hotfix(es_extended/client/main.lua):reinitiating backwards compatibility with spawnmanager

This commit is contained in:
Arctos2win
2024-02-14 01:17:44 +01:00
committed by GitHub
parent 7c59848a08
commit d40ff2f70e
+1
View File
@@ -24,6 +24,7 @@ function ESX.SpawnPlayer(skin, coords, cb)
p:resolve()
end)
Citizen.Await(p)
TriggerEvent('playerSpawned', coords)
local playerPed = PlayerPedId()
FreezeEntityPosition(playerPed, true)