X3D Respawn

Description

A free death screen. It shows who killed you, with what and where you were hit, has a Call EMS button, and can make players wait for medics before they respawn on their own. Works with ESX or standalone.


Features

  • [+] Easy setup: tune everything in config, or set it through the web builder
  • [+] Death screen with killer, weapon, distance, headshot and the last 6 hits
  • [+] Call EMS button alerts online medics with a map blip, with a cooldown
  • [+] Choose which jobs count as medics, and the message they read
  • [+] Medics online means waiting: set a minimum and count on-duty medics only
  • [+] Set the wait before respawning, with and without medics online
  • [+] Set it to 0 so players can only be revived by a medic
  • [+] Town or nearest-point respawn, each on or off, with your own spots and blips
  • [+] Self-revive with an item, with your own item name and count
  • [+] Dying then logging out keeps you dead, so no alt+F4 escape (ESX)
  • [+] Admins get /revive and /heal for players
  • [+] Hook into other scripts through addons/

What's inside

  • Call EMS: every online player whose job is in Config.CallEMS.jobs gets an emergency notification and a flashing map blip at the patient's position. It works on its own with no other script, or plug in another dispatch system through the adapter.
  • Medics online means waiting: medics are counted from the ambulance job. Set the minimum number, and how many seconds players wait before they can respawn anyway, or make them wait to be revived. With no medics online, players can respawn after a delay you set.
  • Death summary: killer, weapon, distance, zone, headshot, damage per body part and the last six hits.
  • Respawn points and self-revive: town, nearest point or a medkit, each on or off.
  • Death survives relogs: players cannot alt+F4 out of dying (the death flag is stored in the ESX players table).
  • Works with medic scripts: your medic scripts trigger x3d_respawn:cmdRevive / x3d_respawn:cmdHeal to revive and heal, and can use the IsPlayerDead and ClearDeathFlag exports.
  • Admins: /revive [id] and /heal [id].

Make it fit your server

File Job
addons/dispatch/client.lua The Call EMS button (edit it to plug in another dispatch)
addons/hud/client.lua Hides the HUD while dead
addons/notify/client.lua Notifications
addons/anticheat/server.lua Your anti-cheat hook, called when a player is moved to a respawn point

Requirements

  • oxmysql
  • es_extended (ESX Legacy), optional: without it use standalone mode

Version history

  • 1.1.3 — Released 13/10/2026 00:17
  • 1.1.1 — Released 12/10/2026 10:28
  • 1.0.0 — Released 25/09/2026 23:14
Same category

Related scripts

View all products
Read more

Posts that cover this script