mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
fix:(resurrect local player)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user