diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index de2a03796..67c79e497 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -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