mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-03 03:38:50 +00:00
Fix position
This commit is contained in:
@@ -74,6 +74,7 @@ function StartRespawnToHospitalMenuTimer()
|
||||
|
||||
ESX.TriggerServerCallback('esx_ambulancejob:removeItemsAfterRPDeath', function()
|
||||
|
||||
ESX.PlayerData.lastPosition = Config.Zones.HospitalInteriorInside1.Pos
|
||||
TriggerServerEvent('esx:updateLastPosition', Config.Zones.HospitalInteriorInside1.Pos)
|
||||
|
||||
RespawnPed(GetPlayerPed(-1), Config.Zones.HospitalInteriorInside1.Pos)
|
||||
|
||||
Reference in New Issue
Block a user