mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
Fix revive
This commit is contained in:
+6
-1
@@ -665,7 +665,12 @@ AddEventHandler('esx_ambulancejob:revive', function()
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
ESX.SetPlayerData('lastPosition', Config.Zones.HospitalInteriorInside1.Pos)
|
||||
ESX.SetPlayerData('lastPosition', {
|
||||
x = coords.x,
|
||||
y = coords.y,
|
||||
z = coords.z
|
||||
)
|
||||
|
||||
TriggerServerEvent('esx:updateLastPosition', {
|
||||
x = coords.x,
|
||||
y = coords.y,
|
||||
|
||||
Reference in New Issue
Block a user