Skip to Content
Casts & BracesCasts & Braces

Casts & Braces

Wearable medical treatment system — casts, slings, braces and bandages your medics actually apply, and your players actually wear.

Resource name: gravitas_casts · Version 1.1.0 · Frameworks: Qbox / QBCore / ESX Legacy / Mythic Framework, auto-detected · Ships with full, unencrypted Lua source

What it does

When a citizen is hurt, your medics don’t type a command and move on — they walk over, target the patient, pick the injury, choose the side of the body, and set the recovery time. A fully synchronized doctor/patient treatment animation plays, and the cast, sling, brace or bandage appears on the patient for everyone to see.

  • Five wearables with custom Legacy models: forearm cast, arm sling, leg cast, neck brace, head bandage — each with male and female fitted variants
  • Left/right side selection for every arm and leg treatment — cast the exact limb that was injured
  • Three synchronized treatment modes — standing, lying on the ground, and lying in a hospital bed — auto-detected from the patient’s position, with paired doctor/patient clips and mid-animation prop hand-off
  • Wall-clock expiry — equipment stays on for the set duration, survives logout and reconnect, and counts real time even while the player is offline
  • Server-authoritative security — job, distance, item ownership, payload validation and rate limiting are all enforced server-side; clients can never apply, extend or force equipment
  • Framework adapters — Qbox, QBCore, ESX Legacy and Mythic Framework; Mythic uses Mythic Inventory or an explicitly selected ox_inventory backend
  • Drag & drop install — database tables, keys and indexes are created automatically through oxmysql on first boot; no manual SQL

Full in-game showcase video 

Requirements

ComponentRequirement
FiveM serverOneSync recommended
ox_librequired
oxmysqlrequired
Frameworkone of: qbx_core / qb-core / es_extended / mythic-base
Inventoryox_inventory / qb-inventory / ESX default / Mythic mythic-inventory
ox_targetoptional — the /equipment command works without it

Equipment types

Five items, each a real wearable with restrictions while worn:

EquipmentWhile worn
Forearm castTwo-handed weapons blocked; wrist-locked cast pose
Arm slingAll weapons blocked; arm held folded; driving blocked
Leg castSprinting disabled; limp walking style; ankle IK locked; driving blocked
Neck braceCosmetic
Head bandageCosmetic

The neck brace and head bandage are cosmetic wearables. Reduced camera sensitivity while wearing a neck brace is not implemented.

Arm and leg equipment supports normal and high-heel leg-cast covers for female patients wearing heels; use /heelcheck to configure your clothing pack’s shoe mappings (see Configuration).

Only male and female freemode patients can be treated — unsupported peds are rejected before any item is consumed.

Usage

Commands

  • /equipment — opens the medical equipment menu for the nearest patient. Only authorized jobs (default: ambulance, doctor) can treat, and only within 5 meters, checked on the server.
  • /heelcheck — stand in shoes to inspect the drawable/texture and verify high-heel cast cover support.

ox_target

With ox_target running and Config.UseOxTarget = true (default), an integrated Medical Equipment interaction is added on global players for authorized jobs. The menu lists every equipment the medic actually carries — items the medic doesn’t have are visibly locked.

Removal and recovery

Equipment expires automatically when the timer ends. Authorized jobs can also remove it early through the same menu. Progress is stored in the database and restored when the player rejoins.