gta6/prompts
racing
Vaultbeginnerracing

Checkpoint Sequencer Engine

Framework-agnostic reusable ordered-checkpoint engine: routed blip to the next point, hit-radius detection, and server-validated miss-and-rejoin handling.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~81 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A reusable ordered-checkpoint engine: it routes a blip to the next point, detects when the player is inside the hit radius, and lets the server validate sequential progress so checkpoints can't be skipped. Every race mode (sprint, circuit, time trial) sits on top of this primitive, which gives it steady evergreen demand as a licensed building block.

Prompt Template

You are writing a FiveM resource that works across ESX, QBCore and QBox via exports.

πŸ”’ Eyes-only β€” locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access β€” pay once
Most Popular Β· Best Value
Vault$199one-time
  • All 510 prompts β€” the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates β€” new niches as the market moves
Get the Vault β€” $199

$49 for 60 Β· $199 for all 510 + intelligence β€” one-time, no subscription.

Expected Output

The reference Lua at content/expected-outputs/racing/04-checkpoint-sequencer.lua routes a single non-leaking blip to the next point and detects the hit radius client-side, while the server only…

πŸ”’ Eyes-only β€” locked prompt body

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.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access β€” pay once
Most Popular Β· Best Value
Vault$199one-time
  • All 510 prompts β€” the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates β€” new niches as the market moves
Get the Vault β€” $199

$49 for 60 Β· $199 for all 510 + intelligence β€” one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client self-advance β€” a client incrementing its own index skips checkpoints; the server must compare the claimed index to the expected next.
  • Blip leak β€” never calling RemoveBlip leaves a trail of stale waypoints; remove the previous blip before adding the next.
  • Idle marker draw β€” drawing the marker every frame when inactive wastes FPS; gate with Wait(700).

Corrective re-prompt: Have the server reject any seq:reached whose claimed index does not equal the player's stored expected index, and make refreshBlip() call RemoveBlip on the prior blip before each AddBlipForCoord.

Framework Integration

ESX: No framework object required; if you gate who can host a course, resolve with ESX.GetPlayerFromId(source). QBCore: Use QBCore.Functions.GetPlayer(source) for any host/permission gate; the sequencer logic is framework-free. QBox: Use exports.qbx_core:GetPlayer(source) for the host check β€” the checkpoint engine itself ports unchanged.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 standalone-script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo) for a stable racing niche.

Trend Signal

β†’ stable β€” inferred: [INFERRED] reusable checkpoint primitive β€” steady evergreen building-block demand.

Sales Angle

Position as the dependable checkpoint primitive every race mode is built on β€” license once, reuse everywhere. Recommended Tebex price: $69.

Difficulty & Ship Time

beginner Β· ships in 2-4h.