gta6/prompts
mechanic
Vaultintermediatemechanic

Big-Brake Kit & Brake-Fade

A QBCore brake-upgrade script with a server-paid install, an adjustable brake-bias slider, and a heat model that fades braking under sustained hard use.

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

Description

A big-brake kit that mechanics install for cash, exposing a brake-bias slider and a heat/fade model so sustained hard braking loses bite — rewarding cadence over mashing. Servers that lean into racing or sim realism sell this as the brake half of a full tuning suite.

Prompt Template

Write a FiveM QBCore Lua resource "bigbrake" implementing a big-brake kit with a…

🔒 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/mechanic/07-big-brake-kit-brake-fade.lua implements a server-charged kit install keyed by plate, a clamped bias command, and a throttled heat loop that…

🔒 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-side install grant — Claude sets an installed flag locally with no server check, so the kit is free. Force the requestInstall/installResult round-trip.
  • No-Wait heat loop — the accumulator runs without Wait, pinning a core. Mandate Wait(200).
  • Plate bleedfBrakeForce is applied globally, leaking onto rentals. Key every write to the current plate.

Corrective re-prompt: Money and install state must be server-authoritative: remove any client-side grant, route /brakekit through TriggerServerEvent->RemoveMoney->TriggerClientEvent, throttle the heat loop with Wait(200), and only write fBrakeForce when installedPlates[currentPlate] is true.

Framework Integration

  • ESX: swap to local ESX = exports['es_extended']:getSharedObject() and xPlayer.removeAccountMoney('bank', price) inside the install handler.
  • QBCore: exports['qb-core']:GetCoreObject() + Player.Functions.RemoveMoney('bank', price, 'big-brake-kit') as written.
  • QBox: exports.qbx_core:GetPlayer(src) then the same Player.Functions.RemoveMoney signature; events are unchanged.

Profit Potential

$130–$1900/mo on Tebex (expected ~$480). [INFERRED] priced inside the $50-389 script band against the signal-scraper corpus (median seller $11.85K/mo, n=100), scaled for a stable racing-realism niche.

Trend Signal

stable — inferred: Brake-fade depth is evergreen sim demand; steady rather than spiking [inferred].

Sales Angle

Position as a sim-realism brake module for racing servers — the depth that separates an arcade tuner from a sim build. Bundle it with a dyno/ECU pack or sell standalone at a recommended $80 on Tebex.

Difficulty & Ship Time

intermediate · ships in 3-5h.