Skip to content

Cuxial Medical

Medical system for FiveM: death phases, injuries by body zone, hospitals with beds, EMS tools and a live admin panel.

Cuxial Medical handles everything that happens from the moment a player takes damage until they are back on their feet: injuries, the downed state, EMS treatment and the hospital. Most of it can be tuned in game from an admin panel, without restarting the server.

What it does ​

  • Death in phases. Each phase has its own duration, respawn rule and hospital fee. The first one can be a last stand where the player crawls.
  • Death screen with the countdown, the EMS on duty, a key to call for help and a hold-to-respawn key.
  • Injuries by body zone. Nine zones, four wound types and four levels, with limp, aim shake, blocked sprint and jump, blackouts and bleeding.
  • EMS items: defibrillator, medkit, sedative, one treatment item per wound type and a medical bag that can be placed on the ground.
  • Hospitals with a map blip, beds, a respawn point and an optional reception NPC to check in.
  • Stretcher that medics carry and load into an ambulance.
  • Finisher with a melee weapon on a downed player.
  • Optional extras: knockout by punches, painkillers and a self-use bandage.
  • Distress calls to the EMS on duty, with a blip, and to the police dispatch when Cuxial Police is running.
  • Admin panel (/medadmin) to edit phases, hospitals, beds, items and the rest of the settings live.
  • Logs to a Discord webhook and a medical history per character in the database.
  • State kept across reconnects. A player who leaves while downed comes back downed.

A full walkthrough of each part is in the Features guide.

Requirements ​

ResourceRequiredUsed for
OneSyncYesState bags, server-side distance checks
ox_libYesCommands, key bindings, notifications, progress bars, locales
oxmysqlYesSettings, medical history and audit
cuxial_bridgeYesConnects to your framework, inventory and target
An inventory supported by cuxial_bridgeYesMedical items (ox_inventory or qb-inventory)
A target supported by cuxial_bridgeYesBeds, stretcher, medical bag and finisher (sleepless_interact, ox_target or qb-target)
cuxial_interactionsNoReception NPC with the check-in dialog
cuxial_policeNoSends distress calls to the police dispatch

Cuxial Medical provides qb-ambulancejob and manages death by itself. Do not run another death or ambulance script alongside it.

cuxial_bridge supports QBox, QBCore and ESX. On ESX the script requires player metadata (getMeta / setMeta) and the duty flag of the job: they restore the downed state after a reconnect and identify the EMS on duty. Hunger and thirst are reset through the hunger and thirst metadata.

Pages ​

© Cuxial