gta6/prompts
vehicles
Vaultintermediatevehicles

Driver's License & DMV Test

A QBCore/QBox DMV exam with a brief and a practical checkpoint course that issues a driverlicense metadata flag required to legally drive.

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

Description

A DMV exam for QBCore/QBox servers: press E at the DMV to start, get a brief, then drive through a checkpoint course; clearing every checkpoint issues a driverlicense metadata flag that other resources can require before a player may legally drive. Servers sell it because it turns driving into an earned privilege, the backbone of serious-roleplay law enforcement.

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/26-drivers-license-dmv.lua implements a start-at-DMV brief animation, a practical checkpoint course tracked client-side, and a server handler…

🔒 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 — writing the license on the client is trivially spoofed; only SetMetaData server-side counts.
  • Teleport-skip — granting on a bare pass event lets a client skip the course; gate the grant on validated progression.
  • Double-issue — re-running the test re-writes metadata; guard on the existing driverlicense flag.

Corrective re-prompt: "Move the license write to the server with Player.Functions.SetMetaData, guard it behind a check that the player does not already hold driverlicense, and have the server validate checkpoint progression (count + ordering) before issuing rather than trusting the client's pass event."

Framework Integration

ESX: not targeted here, but xPlayer.set('licenses', ...) is the equivalent license store. QBCore: Player.Functions.SetMetaData("driverlicense", true) is the native license flag other scripts read. QBox: identical via exports.qbx_core:GetPlayer(source) and player.Functions.SetMetaData.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [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 stable serious-RP niche.

Trend Signal

stable — strategy: Niche-matrix serious-RP onboarding; licence-metadata pattern is qb/qbox-native and the polished DMV market skews there — steady.

Sales Angle

Position as the law-enforcement prerequisite that makes traffic stops and unlicensed-driving charges meaningful. Recommended Tebex price: $79.

Difficulty & Ship Time

intermediate · ships in 2-4h.