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.
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access, pay once
- All 510 prompts, the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates, new niches as the market moves
$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…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access, pay once
- All 510 prompts, the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates, new niches as the market moves
$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.finishedset on the first valid finish only. - One-sided net event, defining
pink:resulton only one side leaves the loser unaware of the forfeit; both sides useRegisterNetEvent+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(); implementtransferOwnerby updating theowned_vehiclesrow'sownerto the winner's identifier. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); updateplayer_vehicles.citizenidto the winner viaQBCore.Functions.GetPlayer+ your DB layer. - QBox: use
exports.qbx_core:GetPlayer(src)and updateplayer_vehiclesownership 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.
