If someone died he press “E” to send notification to the ambulance clear?
they can know his place and every thing is okay but sometimes they can’t see him.!
I saw many servers using script which when someone type /stack the died body jump from the ground so the ambulance can see him OR every 60 seconds the died person make a little wake up and he come down on ground again * I WISH YOU CAN FIND THIS…
Will this script simply brings ragdoll animation ever X seconds which means resetting the players position (server sided)? Like NoPixel ragdoll thing when players die
function OnPlayerDeath()
IsDead = true
TriggerServerEvent(‘esx_ambulancejob:setDeathStatus’, true)
StartDeathTimer()
StartDistressSignal()
DoScreenFadeOut(0)
Wait(5000)
DoScreenFadeIn(10000)
while IsDead do
Wait(0)
if IsEntityDead(GetPlayerPed(-1)) then