gta6/prompts
medical
Vaultintermediatemedical

Bone Fracture — Casts, Splints, Crutches & Mobility Loss

ESX/QB fracture system that forces a cast/splint, swaps the player to an injured limp clipset and blocks sprint until a server-owned heal timer clears the bone.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~88 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A bone-fracture system for ESX or QB servers: a fracture forces the player into an injured limp clipset, blocks sprint, and requires a cast to swap to a less-severe gait — then a server-owned heal timer clears the bone after recovery time. Servers sell this because the visible mobility loss and the cast/crutch craft layer deepen medical RP far past a one-button revive.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/medical/03-bone-fracture-cast-mobility.lua. It implements a server-side fracture record with a heal deadline, a client clipset swap between injured…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-trusted fracture — Claude clears the bone locally; keep the fracture state and heal timer server-side keyed by source.
  • Clipset before loadSetPedMovementClipset no-ops if the set is not loaded; always RequestAnimSet + a HasAnimSetLoaded wait loop.
  • One-sided net event — defining fracture:sync on only one side means the gait never updates after casting; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Store fractures[src] = on the server, set healAt only when the cast is applied, clear the fracture on a server timer when healAt passes, and drive every clipset change from the fracture:sync event so the gait can never desync."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); resolve with ESX.GetPlayerFromId(src).
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); persist the fracture on Player.PlayerData.metadata via Player.Functions.SetMetaData.
  • QBox: use exports.qbx_core:GetPlayer(src) and the same metadata accessor so a fracture survives relog.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), set for a rising medical-depth niche.

Trend Signal

rising — strategy: niche-selection.md flags animation/craft depth + framework migration as a defensibility moat over saturated basic-EMS; clear deepening play.

Sales Angle

Position as the animation-craft layer that gives orthopedic RP and physiotherapy jobs a reason to exist — the limp/crutch gait is the visible differentiator. Recommended Tebex price $149.

Difficulty & Ship Time

intermediate · ships in 1 day.