CS_DEATHSCREEN
An advanced death screen system. Includes respawn timer, bleed-out mechanic, knockout system, stabilization, dispatch notifications, and Discord webhooks.
Installation
start CS_DeathscreenDelete or comment out the following lines:
ClearTimecycleModifier()
SetTimecycleModifier("REDMIST_blend")
SetTimecycleModifierStrength(0.7)
SetExtraTimecycleModifier("fp_vig_red")
SetExtraTimecycleModifierStrength(1.0)
SetPedMotionBlur(PlayerPedId(), true)
StartDeathTimer()
StartDeathCam()
StartDistressSignal()For the newest ESX version your function should now look like this:
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
Configuration
Config.lua
This configuration file controls death screen behavior, respawn rules, stabilization, knockout system, item removal, and notifications.
Webhook Configuration
Support
If you have any further questions, open a ticket on our discord server: discord.gg/core-services
Last updated
Was this helpful?