gta6/prompts
police
Vaultintermediatepolice

Evidence Locker & Chain of Custody

ESX/QBCore/QBox evidence property room that bags-and-tags seized items, links them to a case, records a signed custody chain, exports for court, and auto-purges on a timer.

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

Description

An evidence property room: officers bag-and-tag seized items, link them to a case, and every transfer appends a signed link to the item's chain of custody. The server can export a read-only manifest for court and auto-purges stale evidence. It sells hot because chain-of-custody RP is surging in heavy-RP servers where legal realism is the whole draw.

Prompt Template

You are writing a FiveM resource for [esx|qbcore|qbox]. Resolve the framework…

🔒 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/11-evidence-locker-chain-of-custody.lua — 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

  • Ledger client-side → evidence can be forged or deleted.
  • Bagging anim plays before the dict loads → T-pose.
  • Forward-iterating purge skips entries while mutating the array.

Corrective re-prompt: Keep the locker, tags, and chain in a server table gated on the police job; the client only renders. In the purge thread iterate for i = #locker.items, 1, -1 do and table.remove(locker.items, i) so removal doesn't skip neighbours.

Framework Integration

  • ESX: ESX.GetPlayerFromId(src), chain entries keyed by xPlayer.identifier; gate on xPlayer.job.name.
  • QBCore: QBCore.Functions.GetPlayer(src), chain by PlayerData.citizenid; persist cases in an evidence table.
  • QBox: exports.qbx_core:GetPlayer(src); surface the locker through the ox_mdt evidence UI.

Profit Potential

$400–$6000/mo on Tebex (expected ~$1500). [INFERRED] Priced inside the $50-389 script band against the corpus median seller of $11.85K/mo (signal-scraper tebex_snapshot n=100) for a hot heavy-RP niche.

Trend Signal

🔥 hot — corpus: Evidence-locker UI is a named ox_mdt feature; chain-of-custody/property-room RP is surging in heavy-RP servers.

Sales Angle

Lead with court-grade chain of custody — heavy-RP servers pay a premium for legal realism. Recommended Tebex price $149.

Difficulty & Ship Time

intermediate · ships in 1 day.