Skip to content

Commit

Permalink
fix:(resurrect local player)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arctos2win authored Jan 29, 2024
1 parent 92db837 commit 585a4e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions [core]/es_extended/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 585a4e4

Please sign in to comment.