gta6/prompts
police
Vaultintermediatepolice

Body-Cam & Dash-Cam Evidence Recorder

ESX/QBCore toggleable body/dash-cam that records timestamped clip metadata with server-owned chain-of-custody and a NUI evidence vault.

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

Description

A toggleable body-cam / dash-cam recorder: officers start and stop clips that capture timestamped metadata, the server seals each clip with chain-of-custody, and a NUI evidence vault plays them back. It is the accountability staple of any modern-LEO server, with steady, predictable demand.

Prompt Template

You are writing a FiveM resource for a police body-cam / dash-cam evidence recorder that…

🔒 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

The reference Lua lives at content/expected-outputs/police/05-bodycam-dashcam-evidence-recorder.lua. It implements a recording overlay that idles when off, server-owned open-clip tracking, a…

🔒 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

  • Forgeable vault — client-side clips can be deleted or faked; keep the vault and custody on the server.
  • Always-hot loop — a Wait(0) overlay thread when idle burns frames; gate the hot path behind the recording flag.
  • Nil clip insert — stopping with no open clip after a reconnect pushes garbage; guard on active[src].

Corrective re-prompt: "Move Vault, active and nextClip into server.lua behind isOfficer, idle the overlay thread to Wait(1000) when not recording, and guard cam:stopClip on an existing active[src] entry."

Framework Integration

  • ESX: ESX = exports['es_extended']:getSharedObject(); gate cam events with xPlayer.job.name == 'police'.
  • QBCore: QBCore = exports['qb-core']:GetCoreObject(); persist the Vault to a database table for cross-restart evidence.
  • QBox: exports.qbx_core:GetPlayer(src); same job.name gate, store clips in your ox_lib or SQL evidence table.

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 for a stable niche.

Trend Signal

stable — strategy: MASTER-200 id-088 Body-Cam/Dash-Cam ($59, 400/1,200/3,200, S/COMP); modern-LEO staple with steady demand.

Sales Angle

The modern-LEO accountability staple — chain-of-custody metadata and a sealed vault are the differentiator over a plain screen-record overlay. Recommended Tebex price $59.

Difficulty & Ship Time

intermediate · ships in 4-8h.