gta6/prompts
vehicles
Vaultadvancedvehicles

ANPR Automatic Plate Reader

A QBCore/QBox patrol-vehicle plate scanner that reads the nearest plate and has the server flag stolen/wanted/uninsured vehicles back to the officer.

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

Description

An ANPR plate reader for QBCore/QBox law-enforcement servers: while in a patrol vehicle an officer presses a key to scan the nearest car's plate, and the server checks it against a flag list and returns STOLEN / WANTED / UNINSURED / CLEAR. Servers sell it because automatic plate detection is a staple of MDT-centric police roleplay that civilians cannot spoof.

Prompt Template

You are writing a FiveM resource for QBCore. ONE Lua file, client + server sections,…

🔒 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/vehicles/28-anpr-plate-reader.lua implements an in-patrol scan key that grabs the nearest plate, a scan animation, and a job-gated server check 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.

Known Failure Modes & Corrective Prompt

  • Client-side flag list — players can read or forge it; keep the lookup table and resolution server-side.
  • No job gate — any civilian could scan; require job.type == 'leo' on the check event.
  • Untrimmed plateGetVehicleNumberPlateText pads to 8 chars; trim before comparing or matches miss.

Corrective re-prompt: "Keep the flag table on the server only, gate anpr:check behind Player.PlayerData.job.type == 'leo', and trim the plate with plate:gsub('%s+','') on both the stored keys and the scanned value before comparing so padded plates still match."

Framework Integration

ESX: not targeted; the equivalent gate is xPlayer.job.name == 'police' before the lookup. QBCore: Player.PlayerData.job.type == 'leo' gates the scan; back the flag table with the player_vehicles table for real data. QBox: identical via exports.qbx_core:GetPlayer(source); pairs naturally with ox_mdt for live flag sourcing.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] derived from the $50-389 paid-script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), scaled for a rising police-tech niche.

Trend Signal

rising — corpus: ox_mdt police-tech ecosystem activity; automatic plate-reader scanning is rising with law-enforcement-server depth (qb/qbox MDT-centric).

Sales Angle

Position as the MDT-adjacent patrol automation that flags wanted vehicles without a manual database lookup. Recommended Tebex price: $299.

Difficulty & Ship Time

advanced · ships in 1 day.