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).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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 load —
SetPedMovementClipsetno-ops if the set is not loaded; alwaysRequestAnimSet+ aHasAnimSetLoadedwait loop. - One-sided net event — defining
fracture:syncon only one side means the gait never updates after casting; both sides useRegisterNetEvent+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 withESX.GetPlayerFromId(src). - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); persist the fracture onPlayer.PlayerData.metadataviaPlayer.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.