vi/raiser
racing
racing, GTA 6 style illustration
Vaultadvancedracing

Pink Slip, Wager-the-Car Race

ESX/QB/QBox high-stakes head-to-head where the server decides the winner on finish and transfers the loser's owned vehicle to the winner in the database.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~90 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / mohot
$1,500($400 to $6,000)

$50-389 script band, sized for a hot niche; top sellers clear around $11.85K/mo.

Effort vs return
advanced1 day

Description

A pink-slip wager race for ESX, QBCore or QBox: two drivers race head-to-head and on finish the server crowns the winner and transfers the loser's owned vehicle to them in the database. Servers sell this because a wager-the-car race is the highest-stakes headline event a racing community runs nights around.

Prompt Template

You are writing a FiveM resource for a pink-slip (wager-the-car) race.

🔒 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/racing/17-pink-slip-race.lua. It implements a server-owned head-to-head match, a finish-line trigger that reports the player's plate, a single-fire…

🔒 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-declared winner, letting the client crown itself lets a modder steal cars; the winner and the DB transfer are server-authoritative.
  • Double transfer, both finish events moving the title; guard with match.finished set on the first valid finish only.
  • One-sided net event, defining pink:result on only one side leaves the loser unaware of the forfeit; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "On the server, set match.finished=true on the FIRST valid pink:finished, derive loser as the other racer, and call transferOwner(loser, winner, loserPlate) exactly once, the client only reports crossing the line and never decides the winner or moves ownership."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); implement transferOwner by updating the owned_vehicles row's owner to the winner's identifier.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); update player_vehicles.citizenid to the winner via QBCore.Functions.GetPlayer + your DB layer.
  • QBox: use exports.qbx_core:GetPlayer(src) and update player_vehicles ownership server-side in the transfer stub.

Profit Potential

$400-$6000/mo on Tebex (expected ~$1500), within the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo), boosted for a hot high-stakes headline format.

Trend Signal

🔥 hot, inferred: pink-slip (wager-the-car) is a high-stakes crowd-favorite; hot demand.

Sales Angle

Position as the high-stakes headline race, wager your car, winner takes the title, the event servers promote nights around. Recommended Tebex price $359.

Difficulty & Ship Time

advanced · ships in 1 day.