NullSect
Systems nominal

Scripts / interface · v0.2.0

Deathscreen

A death screen that shows how you went down, with an EMS call and a server-checked respawn.

  • Qbox
  • QBCore
  • ESX

Features

  1. 01

    Two phases

    Knocked down with a bleed-out countdown and a slowing heartbeat, then dead with the respawn timer.

  2. 02

    What happened

    Weapon or cause, distance, where the last hit landed and the hits of the last seconds.

  3. 03

    Call EMS

    Hold G to call medics, with a cooldown and a limit per death checked by the server.

  4. 04

    Server-checked respawn

    The timer is checked on every respawn, also one sent straight to qbx_medical.

  5. 05

    Voice keeps working

    The screen never takes focus: chat, voice and radio work while you are down.

Requirements

Frameworks
Qbox, QBCore, ESX
Requires
ox_lib, qbx_medical
Works with
qbx_ambulancejob, ps-dispatch, cd_dispatch, rcore_dispatch, ns-hud
Version
0.2.0

Recent changes

Read the docs →

0.2.0

  • The HUD is hidden while the death screen is up (Config.Hud): ns-hud, GTA minimap + HUD, or your own HUD through a function. Also during /deathpreview.
  • New killer mode 'off', now the default: the "By" row is gone and the killer is never sent to the client. Weapon, distance, last hit and hits taken still show. 'hidden', 'id' and 'name' work as before.

0.1.0

  • Death screen over qbx_medical: knocked down (bleed-out countdown, heartbeat line and sound) and dead (flat line, respawn countdown). No NUI focus: chat, voice and radio keep working.
  • "What happened": killer (id / name / hidden, server checked), weapon or cause, distance, last hit zone, hits taken.
  • Injury sheet with bleeding from qbx_medical.
  • Hold G: EMS call with server cooldown and per-death limit; qbx_ambulancejob, ps-dispatch, cd_dispatch, rcore_dispatch, built-in or custom alert; medics on duty shown.
  • Hold H: give up after Config.GiveUp.after seconds knocked down.
  • Hold E: respawn through qbx_medical, gated by a server timer (qbx_medical respawn hook); longer timer with EMS on duty, block while EMS is on duty, auto respawn options.
  • Desaturated picture, /deathpreview down | dead | off (admin), EN / TR locales, no database.
  • qbx_ambulancejob needs a 3-line guard to hide its own death text (INSTALLATION step 3).

Related

Cart

Your cart is empty.