Description
A finish-line system that timestamps each racer's crossing on the server, calls a photo finish when two crossings fall inside a tie window, and rolls a short slow-motion replay cam over the line for the affected racers. It sells as the highlight-clip feature — the dramatic photo-finish moment that gives servers shareable content stock racers can't produce.
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/30-photo-finish-replay.lua arms racers, detects each crossing client-side, has the server timestamp and sort crossings to assign places and flag…
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
- Disputed winner — a client-decided near-tie makes racers disagree on the result; the server must timestamp and order crossings.
- Half-built cam — the replay anim plays before the dict loads, leaving the scene uninitialized; guard with a
HasAnimDictLoadedloop. - Stuck slow-mo — failing to reset
SetTimeScale(1.0)andDestroyCamleaves the player frozen behind a locked camera; always tear down the replay state.
Corrective re-prompt: "Racers dispute the winner and the replay leaves them stuck in slow motion. Timestamp and sort crossings on the server with GetGameTimer to assign places and the near-tie flag, guard the replay cam anim with RequestAnimDict + HasAnimDictLoaded, and on replay exit always restore SetTimeScale(1.0), ClearTimecycleModifier, RenderScriptCams(false,...) and DestroyCam."
Framework Integration
ESX: resolve ESX = exports["es_extended"]:getSharedObject() only if you tie the finish to a payout; the photo-finish and replay are framework-agnostic.
QBCore: swap to exports['qb-core']:GetCoreObject() to record results; the crossings table keys off the server id.
QBox: use exports.qbx_core:GetPlayer(src) to label the placing racer on a results board.
Profit Potential
$150–$2000/mo on Tebex (expected ~$500). [INFERRED] Priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100); a niche polish feature sits mid-band with stable demand.
Trend Signal
→ stable — inferred: [INFERRED] photo-finish + replay cam is a niche polish feature; stable demand.
Sales Angle
Position the photo finish as the highlight-clip moment that fills a server's social feed. Sell as a premium racing polish add-on at $179 on Tebex.
Difficulty & Ship Time
advanced · ships in 1 day.