gta6/prompts
police
Vaultbeginnerpolice

Officer Panic & Backup Dispatch

ESX/QBCore/QBox officer panic button (10-13) — broadcasts live GPS + officer-down and spawns a top-priority backup dispatch call, all server-owned.

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
~78 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A one-button panic system: an officer hits 10-13, the server flags an officer-down, broadcasts a live-updating GPS blip to every unit, and queues a top-priority backup call. Servers sell it because the panic button is a safety staple, and a streamed live position is the difference between backup arriving and arriving too late.

Prompt Template

Build a FiveM officer-panic resource for ESX, QBCore and QBox for a generic…

🔒 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

See content/expected-outputs/police/28-officer-panic-backup-dispatch.lua — a client that fires the panic, streams its coords, and sets a waypoint on the alert, and a server that owns the active-panic…

🔒 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

  • Alert sent peer-to-peer, so only nearby officers received it.
  • Position cached once, so the GPS blip never tracked.
  • One side missing AddEventHandler, so the waypoint never set.
  • No clear path, leaving stale panics on the board.

Corrective re-prompt: "Route every panic alert and position update through the server with TriggerClientEvent(..., -1, ...), keep the active-panic table server-side, stream the client's coords on a 1.5s interval, and add a clear handler that removes the entry and notifies all units."

Framework Integration

ESX: ESX.GetPlayerFromId(src); gate isOfficer on xPlayer.job.name == 'police'. QBCore: QBCore:GetCoreObject(); gate isOfficer on Player.PlayerData.job.name == 'police'. QBox: exports.qbx_core:GetPlayer(src); check player.PlayerData.job.type == 'leo'.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), scaled to a stable safety-staple niche.

Trend Signal

stable — inferred: Officer panic/10-13 backup is a safety staple, dispatch-adjacent; simple to build, steady cross-server demand.

Sales Angle

Position as the must-have officer-safety add-on for any LEO server; cheap, fast install, broad appeal. Recommended Tebex price $59.

Difficulty & Ship Time

beginner · ships in 2-4h.