gta6/prompts
police
Vaultintermediatepolice

Search, Seizure & Pat-Down

ESX/QBCore/QBox probable-cause pat-down and vehicle search that surfaces concealed contraband server-side and routes confiscations to the evidence locker.

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

Description

A probable-cause pat-down and vehicle/trunk search for law-enforcement roleplay: an officer searches the nearest suspect, the server inspects the suspect's items, surfaces only the tagged contraband, and routes every confiscation to the evidence locker. Servers buy it because it replaces freeform /me searches with an auditable seize-and-log flow.

Prompt Template

You are writing a FiveM resource (client.lua + server.lua) for a law-enforcement…

🔒 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 at content/expected-outputs/police/19-search-seizure-patdown.lua implements a server-authoritative pat-down: the officer animates client-side, but the server inspects the suspect's…

🔒 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

  • Client-side contraband decision — reading inventory and judging contraband on the client lets the target hide items; keep the item list and the tag check on the server.
  • Non-persistent seizures — items confiscated but never written to the evidence locker vanish on restart; persist in the server handler.
  • Anim T-pose — calling TaskPlayAnim before the dict loads skips the animation; wait on HasAnimDictLoaded.

Corrective re-prompt: "Move the entire contraband decision server-side: the server holds the suspect's item list and a ContrabandTags set, builds the seized list itself, and persists each item via leo:routeToEvidence before replying to the officer. The client only triggers the request and renders the result."

Framework Integration

  • ESX: resolve exports['es_extended']:getSharedObject(), gate isOfficer on xPlayer.job.name == 'police' and confiscate via xPlayer.removeInventoryItem.
  • QBCore: use exports['qb-core']:GetCoreObject(), check Player.PlayerData.job.name, and seize with Player.Functions.RemoveItem.
  • QBox: call exports.qbx_core:GetPlayer(src) and use ox_inventory RemoveItem/AddItem to move contraband into the evidence stash.

Profit Potential

$150–$2000/mo on Tebex (expected ~$560). [INFERRED] priced inside the $50-389 FiveM script band for a stable baseline-LEO niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100).

Trend Signal

stable — inferred: Structured pat-down + probable-cause seizure is a baseline LEO action; the formalized PC-and-confiscate flow remains sellable. Feeds the evidence locker.

Sales Angle

Position as the probable-cause toolkit that gives officers a real seize-and-log loop instead of /me searches — every confiscation lands in the evidence locker. Recommended Tebex price $129.

Difficulty & Ship Time

intermediate · ships in 2-4h.