Description
A lightweight street-race resource: an admin starts the race, every participant gets a countdown then a routed blip to checkpoint one, and the marker advances as they pass each point. The first player to clear the final checkpoint reports to the server, which authoritatively declares the winner once and broadcasts it. Perfect for racing servers and event nights.
Prompt Template
You are writing a FiveM resource (no economy framework needed). ONE Lua file with…
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 at content/expected-outputs/vehicles/03-street-race.lua implements the countdown, an adaptive-sleep checkpoint loop, and a server-side raceOver guard that names the first finisher.…
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
- Client-decided winner — Claude announces the winner from the finishing client, which a cheater fakes. Require the server to pick the first
race:finishedit receives. - Frame-burning idle loop — a
Wait(0)loop that runs even with no active race tanks FPS. Mandate the adaptivelocal sleeppattern. - Blip trail — old checkpoint blips are never removed. Require
RemoveBlipbefore creating the next. - No re-arm — the
raceOverguard never resets, so only one race ever works. Reset it viaSetTimeoutor onstartrace.
Integration Notes
Split into client.lua / server.lua; fxmanifest.lua lists both with fx_version 'cerulean', game 'gta5'. No framework or DB needed. Make startrace admin-only via your ACE perms. Test: ensure <resource>, run /startrace, drive the route on two clients and confirm only the first to finish is announced.
Profit Potential
$200–$3000/mo on Tebex (expected ~$780). [INFERRED] Standalone race scripts serve a tighter but active racing/event audience; priced mid-band, the server-authoritative anti-cheat is the paid hook.
Trend Signal
↗ rising — vehicle modding/tuning niche-selection 3.75; corpus ox_fuel active.
Sales Angle
Target racing and event-night servers where the server-authoritative first-to-finish shuts down the usual win-faking. Recommend $129 on Tebex as a plug-in race framework.
Difficulty & Ship Time
intermediate · ships in 1 day.