[Help] How to force disable screen kill effect

Anyone help me how to force disable screen kill effect. thankyou

2 Likes

Depends what framework you are using. You people really need to provide more information to make this easier…

For ESX:
Go to esx_ambulancejob and search for ā€œDeathFailOutā€.

It will appear for things like;
StartScreenEffect('DeathFailOut', 0, false)
And;
StopScreenEffect('DeathFailOut')

That’s what is doing it. Just remove or comment out those lines and maybe others like screen fading, etc. Just edit to your own needs. But StartScreenEffect('DeathFailOut', 0, false) is what is causing that death screen effect.

its a little late now but for the newer version its in the esx_ambulancejob/client/main.lua. i removed this whole part:

function OnPlayerDeath()
isDead = true
ESX.CloseContext()
ClearTimecycleModifier()
SetTimecycleModifier(ā€œREDMIST_blendā€)
SetTimecycleModifierStrength(0.7)
SetExtraTimecycleModifier(ā€œfp_vig_redā€)
SetExtraTimecycleModifierStrength(1.0)
SetPedMotionBlur(PlayerPedId(), true)
TriggerServerEvent(ā€˜esx_ambulancejob:setDeathStatus’, true)
StartDeathTimer()
StartDeathCam()
StartDistressSignal()
end