Skip to content

Commit

Permalink
fix:(spawn to coords πŸ˜…)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arctos2win authored Jan 29, 2024
1 parent 585a4e4 commit f35d6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f35d6dc

Please sign in to comment.