Description
An advanced EMS computer-aided dispatch console for ESX or QB servers: incoming calls form a priority queue with map blips, and medics see unit status and claim assignments — all of it owned server-side so no two units fight over the same call. Servers sell it as the EMS analogue of the police MDT, the missing command layer that lets a medical department actually run like one.
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/16-ems-cad-dispatch.lua. It implements a server-owned calls table with incrementing ids, a priority-sorted broadcast, an assign path that…
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-owned queue — two medics each believe they own a call; keep the queue, call ids and
assignedToserver-side and refuse a second claim. - Blip leak — rebuilding blips without removing the prior set leaks one per sync; clear the old blip array before drawing the new queue.
- One-sided net event —
medical:cad:syncon only one side freezes the console on restart; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Make server.lua the single owner of the calls table and the nextId counter, reject medical:cad:assign when call.assignedTo is already set, only allow medical:cad:close from the assigned source, and in renderBlips RemoveBlip every entry of the previous array before adding the new queue."
Framework Integration
- ESX:
local ESX = exports['es_extended']:getSharedObject(); restrict create/assign toESX.GetPlayerFromId(src).job.name == 'ambulance'. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); gate onPlayer.PlayerData.job.name == 'ambulance'andonduty. - QBox: use
exports.qbx_core:GetPlayer(src)and the same on-duty job gate.
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 MDT-class niche.
Trend Signal
🔥 hot — corpus: Directly maps to ox_mdt (named corpus exemplar) re-scoped for EMS dispatch; top-tier proven demand on Cfx/Tebex.
Sales Angle
Position as the EMS dispatch console serious medical servers lack — it re-scopes the proven, top-selling MDT pattern for ambulance work, a premium command layer above any ambulance job. Recommended Tebex price $359.
Difficulty & Ship Time
advanced · ships in 1-2 days.