Description
A beginner-friendly live vital-signs monitor for ESX or QB servers: a per-patient screen renders heart rate, blood pressure, SpO2 and a scrolling ECG waveform that the server keeps drifting inside clinical bounds. Servers buy it because it is the small detail that makes a trauma bay feel like a real hospital instead of a respawn point.
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/13-vital-signs-monitor.lua. It implements a server-owned patientVitals table that drifts within clinical bounds, a client render loop gated…
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-computed vitals — each client invents its own numbers; keep the vitals table server-side keyed by source and push it on every drift tick.
- Draw before sync — the ECG thread divides by a zero heart-rate before the first sync; gate the draw loop on a
monitoringflag set only after a server sync. - One-sided net event — defining
medical:monitor:syncon only one side freezes the screen on restart; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Move all vital generation into server.lua keyed by server id, drift the values on a server timer, and only ever DrawText on the client after the first medical:monitor:sync has set the monitoring flag — never compute hr/bp on the client."
Framework Integration
- ESX:
local ESX = exports['es_extended']:getSharedObject(); resolve identity viaESX.GetPlayerFromId(src)to gate the monitor to on-duty medics. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); checkPlayer.PlayerData.job.name == 'ambulance'before attaching. - QBox: use
exports.qbx_core:GetPlayer(src)and the same job check.
Profit Potential
$150–$2000/mo on Tebex (expected ~$500). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), set for a stable UI-complement niche.
Trend Signal
→ stable — inferred: Clinical ECG/BP/SpO2 monitor is a UI niche complementing wound models; under-served as a standalone screen.
Sales Angle
Position as the screen that makes a hospital bay feel real — a cheap, fast add-on that pairs with any wound or downed-state model. Recommended Tebex price $89.
Difficulty & Ship Time
beginner · ships in 2-4h.