fix:(spawn to coords 😅)

This commit is contained in:
Arctos2win
2024-01-29 18:26:24 +01:00
committed by GitHub
parent 585a4e4c2e
commit f35d6dc23a
+1 -1
View File
@@ -33,7 +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)
NetworkResurrectLocalPlayer(coords.x, coords.y, coords.z, coords.heading, true, true, false)
cb()
end