Description
A team race built around a relay: each driver runs a leg, then drives into a pit zone to hand the baton to the next teammate, and the server sums every leg into one authoritative team time. It sells because most racing scripts only handle solo or simple grids — the relay handoff is a distinct, multiplayer-first format that gives servers a fresh event night.
Prompt Template
You are writing a FiveM Lua resource (framework via exports, e.g.
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/racing/25-team-relay-race.lua registers teams, starts a leg for the active runner, detects a pit-zone handoff with a loaded animation, and lets the…
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-timed legs — if the client sends its own leg duration, a tampered client posts a fake split and the aggregate is worthless. The server must stamp leg start and end itself.
- Frozen handoff anim —
TaskPlayAnimfires before the dict is resident; without theHasAnimDictLoadedloop the swap animation never plays. - Wrong-runner advance — a
relay:handoffwith no source check lets any teammate skip the order; the server must comparesourceto the current runner.
Corrective re-prompt: "The leg times are client-reported and any teammate can advance the relay. Move all timing server-side using GetGameTimer at leg start/handoff, reject a handoff whose source is not the current runner, and guard the handoff TaskPlayAnim with a RequestAnimDict + HasAnimDictLoaded wait loop."
Framework Integration
ESX: resolve ESX = exports["es_extended"]:getSharedObject() to gate team entry fees via xPlayer.removeMoney; the relay timing is framework-agnostic.
QBCore: swap to exports['qb-core']:GetCoreObject() and Player.Functions.RemoveMoney for buy-ins; team membership keys off the server id.
QBox: use exports.qbx_core:GetPlayer(src) for identity on the team roster and payout.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] Priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100); a multiplayer-first relay format earns the upper band for a rising niche.
Trend Signal
↗ rising — inferred: [INFERRED] team-relay handoff racing is an underserved team format; rising.
Sales Angle
Position the relay as the team-night format stock racers can't run. Bundle in a premium racing pack and price at $329 on Tebex.
Difficulty & Ship Time
advanced · ships in 1 day.