gta6/prompts
racing
Vaultadvancedracing

Street-Race Police Heat

A QB-family street-race system where a server-owned heat meter escalates the wanted level and pings police dispatch.

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

Description

An illegal street-race system where sustained high-speed racing fills a heat meter that escalates the racer's wanted level and, past a threshold, pings on-duty police dispatch with the race location. It sells the cops-vs-racers loop servers love — the heat turns a private race into a live pursuit event that pulls the whole server into the action.

Prompt Template

You are writing a FiveM Lua resource (framework via exports, e.g.

🔒 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/28-street-race-heat.lua reports racing speed from the client, has the server accumulate per-player heat, map it to wanted stars applied with…

🔒 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-held heat — a tampered client that stores its own heat never escalates; the server must own the value.
  • Leaked ping — broadcasting the dispatch ping to -1 shows racers the race they're already in and every civilian too; filter to on-duty police only.
  • Staged-but-unapplied starsSetPlayerWantedLevel alone stages the level without applying it; pair it with SetPlayerWantedLevelNow.

Corrective re-prompt: "Heat never escalates for modders and the dispatch ping leaks to everyone. Keep the heat value server-side, map it to stars and apply them with both SetPlayerWantedLevel and SetPlayerWantedLevelNow, and send the dispatch ping only to players whose job.name == 'police' from GetQBPlayers — never TriggerClientEvent(-1)."

Framework Integration

ESX: not targeted here; to port, resolve ESX = exports["es_extended"]:getSharedObject() and filter dispatch by xPlayer.job.name == 'police'. QBCore: exports['qb-core']:GetCoreObject(); iterate QBCore.Functions.GetQBPlayers() and gate on PlayerData.job.name == "police" for the ping. QBox: use exports.qbx_core:GetPlayer(src) and the same job-name filter; the heat table keys off the server id.

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 server-wide cops-vs-racers hook earns the upper band for a rising niche.

Trend Signal

rising — corpus: signal-scraper corpus police/dispatch (ox_mdt-class) — illegal-race heat pings dispatch/MDT.

Sales Angle

Position the heat meter as the spark that turns a quiet race into a server-wide pursuit. Sell as an illegal-racing add-on at $329 on Tebex.

Difficulty & Ship Time

advanced · ships in 1 day.