Corrected is_dead

This commit is contained in:
ElPumpo
2018-11-04 21:28:54 +01:00
parent 485dc685f2
commit c9187dd6df
+1 -1
View File
@@ -306,7 +306,7 @@ RegisterNetEvent('esx_ambulancejob:revive')
AddEventHandler('esx_ambulancejob:revive', function()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
TriggerServerEvent('esx_ambulancejob:setDeathStatus', true)
TriggerServerEvent('esx_ambulancejob:setDeathStatus', false)
Citizen.CreateThread(function()
DoScreenFadeOut(800)