gta6/prompts
phone
Vaultintermediatephone

Garage & Vehicle App

QBCore/QBox phone app to locate owned vehicles on the map, remote lock/unlock, check status, and pay-to-valet summon or retrieve them.

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

Description

A garage & vehicle phone app: players see their owned vehicles blipped on the map, remote lock/unlock them, check status, and pay a valet fee to summon a vehicle to their location. It is the convenience client over a server's existing qb/qbox garage backend, validating ownership and charging fees on the server.

Prompt Template

You are writing a FiveM resource for qb-core (exports['qb-core']:GetCoreObject()).

πŸ”’ 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 lives at content/expected-outputs/phone/23-garage-vehicle-app.lua. It implements a server-held owned-vehicle list keyed by citizenid, ownership-checked lock toggling with blip…

πŸ”’ 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-trusted ownership β€” Claude reads the vehicle list and toggles locks on the client; any plate can be unlocked or summoned. Keep ownership, lock state and the valet fee server-side.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event β€” defining garage:lockToggled/valetResult on only one side breaks the summon round-trip; both client and server use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Keep ownership and fees on the server: hold the owned-vehicle list keyed by citizenid, verify the plate belongs to the caller before any lock toggle or valet, and RemoveMoney('bank', fee) once on summon. The client must only blip, render and play the call anim. Never trust a plate from the client without an ownership check."

Framework Integration

  • ESX: swap to exports['es_extended']:getSharedObject(), key vehicles by xPlayer.identifier, and charge with xPlayer.removeAccountMoney('bank', fee).
  • QBCore: as written β€” exports['qb-core']:GetCoreObject(), Player.PlayerData.citizenid and Player.Functions.RemoveMoney('bank', fee).
  • QBox: use exports.qbx_core:GetPlayer(src) then player.PlayerData.citizenid and player.Functions.RemoveMoney('bank', fee); lock/valet logic is identical.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a stable vehicle-RP niche with steady unit volume.

Trend Signal

β†’ stable β€” inferred: Phone client over the qb/qbox garage ecosystem; convenience layer servers expect.

Sales Angle

The convenience layer over the qb/qbox garage backend β€” locate, lock and valet from the phone without touching the storage system. Recommended Tebex price $169.

Difficulty & Ship Time

intermediate Β· ships in 3-5h.