Description
A bleed-out last-stand for ESX or QB servers: when downed the player drops to a crawl, can call for help or accept death, and a server-owned bleed timer counts to respawn-with-residual-injury if no medic arrives. Servers sell this because the downed death-flow is the universal backbone of every serious ambulance job and the reason EMS gets called at all.
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/06-bleedout-laststand-timer.lua. It implements a server-side per-player bleed countdown, a looped downed anim with disabled controls,…
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 timer — Claude counts down and revives locally; keep the bleed timer and revive server-side keyed by source.
- Anim before load —
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+ aHasAnimDictLoadedwait loop. - One-sided net event — defining
laststand:revivedon only one side means a medic revive never lands; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Keep stands[src] = authoritative on the server, decrement on a 1s server loop, fire laststand:revived(true) at zero, and only the server-side laststand:revive(targetId) medic path may clear the state with residual = false."
Framework Integration
- ESX:
local ESX = exports['es_extended']:getSharedObject(); gate the medic revive onxPlayer.job.name == 'ambulance'. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); resolve withQBCore.Functions.GetPlayer(src)and broadcast dispatch via yourps-dispatch/qb-dispatchexport. - QBox: use
exports.qbx_core:GetPlayer(src)and the same job gate on the revive path.
Profit Potential
$400–$6000/mo on Tebex (expected ~$1500). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), boosted for a hot, ubiquitous death-flow niche.
Trend Signal
🔥 hot — corpus: Downed/last-stand bleedout is the proven, ubiquitous pattern in every top ambulance job; deeper than basic ems-revive; hot recurring demand.
Sales Angle
Position as the must-have death-flow every RP server uses to replace instant-respawn — the call-for-help + accept-death loop is the core EMS hook. Recommended Tebex price $299.
Difficulty & Ship Time
intermediate · ships in 1 day.