gta6/prompts
police
Vaultintermediatepolice

Internal Affairs & Use-of-Force Reports

ESX/QBCore/QBox Internal Affairs system — use-of-force reports, citizen complaints and a server-owned officer-action audit log.

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

Description

An Internal Affairs back-office that lets officers file use-of-force reports, lets civilians file complaints, and writes every action to an immutable audit log a supervisor can pull up. Servers sell it because accountability RP needs a tamper-proof record, and this keeps all of it server-side and review-ready.

Prompt Template

Build a FiveM Internal Affairs 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/26-internal-affairs-use-of-force.lua — a client NUI for filing force reports and complaints, and a server that validates roles, allow-lists the force type, clamps…

🔒 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

  • Records stored client-side, so officers edited their own reports.
  • IA board readable by anyone because the role check ran client-side.
  • Server missing AddEventHandler, so submissions vanished.
  • Unbounded narrative text used as an event payload.

Corrective re-prompt: "Make every report and the audit log server-only and append-only, move the IA-supervisor check into the server handler before returning the board, allow-list the force type server-side, and clamp narrative strings to 500 chars."

Framework Integration

ESX: ESX.GetPlayerFromId(src) and gate supervisor reads on xPlayer.job.grade_name == 'ia'. QBCore: QBCore:GetCoreObject(); gate isIASupervisor on Player.PlayerData.job.name == 'police' with grade ≥ command. QBox: exports.qbx_core:GetPlayer(src) and check player.PlayerData.job.type == 'leo' plus grade.

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 accountability-RP niche.

Trend Signal

stable — strategy: MASTER-200 id-085 Internal Affairs ($79, 250/800/2,200, NICHE); steady accountability-RP niche for heavy LEO communities.

Sales Angle

Position as the command-staff accountability tool for serious LEO whitelisted servers; pairs with FTO/discipline systems. Recommended Tebex price $79.

Difficulty & Ship Time

intermediate · ships in 1 day.