mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
fix:(spawn to coords 😅)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user