Description
A two-lane quarter-mile drag for ESX, QBCore or QBox: a staging-light tree counts down, the server stamps the green time, and each lane's reaction is scored against it with a perfect-launch window and a red-light penalty for jumping early. Servers sell this because a real staging tree turns a flat sprint into a measurable reaction-time skill game that drag crowds organise events around.
Prompt Template
You are writing a FiveM resource for a two-lane drag race with a staging tree.
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/13-drag-staging-tree.lua. It implements a server-stamped green light, movement-based launch detection per lane, reaction-time scoring with aβ¦
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-trusted reaction β Claude scores the launch locally; keep the green timestamp, reaction math and winner on the server keyed by lane.
- Rev-in-place launch β detecting a control press scores a stationary rev; gate the launch on
GetEntitySpeedof the player's vehicle. - One-sided net event β defining
drag:greenon only one side leaves the lane waiting forever; both sides useRegisterNetEvent+AddEventHandler.
Corrective re-prompt: "Stamp race.greenAt = GetGameTimer() on the server only, broadcast it via drag:green, and compute reaction = (clientTime - race.greenAt)/1000 server-side; the client must never decide its own reaction time or the winner."
Framework Integration
- ESX:
local ESX = exports['es_extended']:getSharedObject(); pay the winner withxPlayer.addMoneyfrom the server-side result handler. - QBCore:
local QBCore = exports['qb-core']:GetCoreObject(); resolve withQBCore.Functions.GetPlayer(src)and credit viaPlayer.Functions.AddMoney. - QBox: use
exports.qbx_core:GetPlayer(src)and the same server-side payout on the winning lane.
Profit Potential
$250β$3500/mo on Tebex (expected ~$900). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), set for a rising distinct drag format.
Trend Signal
β rising β inferred: [INFERRED] drag staging-tree with reaction time is a popular distinct format; rising.
Sales Angle
Position as the dedicated drag-strip mode that turns a flat sprint into a reaction-time skill game drag crews run events around. Recommended Tebex price $329.
Difficulty & Ship Time
advanced Β· ships in 1 day.