fix:(resurrect local player)

This commit is contained in:
Arctos2win
2024-01-29 18:25:10 +01:00
committed by GitHub
parent 92db83718e
commit 585a4e4c2e
+1
View File
@@ -33,6 +33,7 @@ function ESX.SpawnPlayer(skin, coords, cb)
Wait(0)
end
FreezeEntityPosition(playerPed, false)
NetworkResurrectLocalPlayer(spawn.x, spawn.y, spawn.z, spawn.heading, true, true, false)
cb()
end