NullSect
Systems nominal

Docs / Deathscreen / Configuration

Configuration — ns-deathscreen

Everything is in config.lua (not escrowed). Defaults in brackets.

General

KeyMeaning
Config.Framework ['auto']'qbox', 'qbcore', 'esx', 'standalone'
Config.Locale ['en']'en' or 'tr'; add locales/<code>.lua for more
Config.Debug [false]debug log, e.g. why a respawn was refused (deaths category)
Config.Medical ['auto']'qbx_medical' (full) or 'generic' (dead / alive only, respawn stays with your ambulance job)

Features (Config.Features)

KeyDefaultTurns on
EmsCalltruehold G to call EMS
Recaptruethe "What happened" sheet (and injuries)
GiveUptruehold H while knocked down (qbx_medical)
Respawntruehold E respawn with the server timer (qbx_medical). Off: qbx_medical's own respawn is left alone
Heartbeattrueheartbeat sound while down, a short flatline tone at death
ScreenEffecttruedesaturated picture

Keys (Config.Keys)

ems (47 / G), giveUp (74 / H), respawn (38 / E). control is the GTA control index, label is what the screen shows. Change both together.

Respawn (Config.Respawn)

KeyDefaultMeaning
time300seconds after death before respawn is allowed
timeWithEms300the same when a medic was on duty at the moment of death (e.g. 600)
blockWhenEmsOnlinefalseno respawn at all while a medic is on duty
holdMs3000how long E is held
autofalserespawn by itself when the timer is over
feeText'$2,000'shown next to the key; the fee is charged by your ambulance job ('' hides it)

Give up (Config.GiveUp)

after [60] seconds knocked down before H works, holdMs [3000].

EMS (Config.Ems)

KeyDefaultMeaning
jobs{ 'ambulance' }jobs counted as EMS (on duty) and alerted
holdMs1000how long G is held
cooldown60seconds between two calls of one player (also across deaths)
maxCalls3calls per death, 0 = unlimited
countRefresh15seconds between two "medics on duty" refreshes
provider'auto'qbx_ambulancejob, ps-dispatch, cd_dispatch, rcore_dispatch, builtin, custom, none
alertBlipSeconds120built-in alert: blip lifetime
custom—function(src, coords, message) return true end (server, provider custom)

Recap (Config.Recap)

KeyDefaultMeaning
killer'off''off' (no "By" row, the killer is never sent), 'hidden' ("a person"), 'id' (server id), 'name' (character name + id)
maxDistance400.0a killer further away (server positions) is not shown
hits5weapons listed under "Hits taken"
hitWindow30seconds before going down that count
injuriestrueinjury sheet (qbx_medical)

HUD (Config.Hud)

KeyDefaultMeaning
hidetruehide the HUD while the death screen is up (also in /deathpreview)
provider'auto''ns-hud' (widgets + minimap), 'native' (GTA minimap + HUD), 'custom', 'none'; auto = ns-hud when started, otherwise native
custom—function(hidden) end (client, provider custom) for another HUD resource

Effects (Config.Effects)

downModifier / deadModifier (timecycle name, '' = none), downStrength [0.6], deadStrength [1.0], heartbeatVolume [0.35].

Commands and admin

Config.Commands.preview ['deathpreview']: /deathpreview down | dead | off. Admin = ACE ns-deathscreen.admin or framework admin (Config.Admin).

Cart

Your cart is empty.