gta6/prompts
racing
Vaultadvancedracing

Gymkhana Trick-Course Scoring

ESX scored skill course that accumulates drift/gate/donut trick points server-side and adds a finish-time bonus.

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
~105 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

An ESX gymkhana course: the client detects discrete tricks — passing scoring gates, sustained drift, donuts — and reports each as an event, while the server accumulates the authoritative point total and adds a finish-time bonus on completion. Because points and timing live server-side, the final score and reward can't be spoofed.

Prompt Template

You are writing a FiveM resource for ESX. Produce TWO files (client.lua +…

🔒 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 lives at content/expected-outputs/racing/24-gymkhana-trick-course.lua. It implements per-gate one-shot hit flags, a side-slip drift detector, server-side point accumulation from…

🔒 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-tallied score — submitting a final number is spoofable; accumulate points server-side from discrete trick events.
  • Client-sent duration — a client time bonus can be faked; compute elapsed from a server GetGameTimer start/stop.
  • Gate re-counting — a gate scored every frame inflates points; flag each gate so it scores once.

Corrective re-prompt: Have the client send only "gymkhana:trick" events, accumulate points in a server points[src] map, mark each gate hit once with a flag, and compute the time bonus from server-side GetGameTimer at finish.

Framework Integration

  • ESX: xPlayer.addMoney(reward) pays the finish reward; points/started are plain server maps.
  • QBCore: swap to QBCore.Functions.GetPlayer(src).Functions.AddMoney('cash', reward) for the payout.
  • QBox: use qbx_core's GetPlayer + AddMoney; the trick accumulation and time bonus are unchanged.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 FiveM script band against a rising skill-format niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100), scaled for an advanced scored playground.

Trend Signal

rising — inferred: [INFERRED] gymkhana trick-course scoring is a rising skill-format niche.

Sales Angle

Sell to drift/skill servers as a scored gymkhana playground that rewards finesse, not just speed — points plus a time bonus. Recommended Tebex price $219.

Difficulty & Ship Time

advanced · ships in 1-2 days.