gta6/prompts
vehicles
Coreadvancedvehicles

Repair / Tow Station: NPC Fix or Flatbed

An ESX station where an NPC mechanic fully repairs your vehicle for a fee or dispatches a flatbed, both charged server-side.

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

Description

A mechanic station for ESX servers: a persistent NPC mechanic stands at a fixed point; pressing E repairs the player's vehicle completely (health + visual deformation) for a fee, while pressing G dispatches a flatbed tow truck for a larger fee. It gives players a money sink to recover from the damage model and a roleplay anchor for mechanic jobs.

Prompt Template

You are writing a FiveM resource for ESX. ONE Lua file, client + server sections.

πŸ”’ 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/vehicles/09-repair-tow-station.lua implements a persistent invincible mechanic ped, a proximity repair/tow interaction, a full repair (health +…

πŸ”’ 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

  • Partial repair β€” SetVehicleFixed alone leaves dents; require SetVehicleEngineHealth/SetVehicleBodyHealth/SetVehicleDeformationFixed together.
  • Wandering ped β€” without SetBlockingOfNonTemporaryEvents + invincibility the mechanic flees or dies; mandate both.
  • Client-side charge β€” deducting the fee client-side is exploitable; move removeMoney server-side.
  • Ped re-spawn loop β€” spawning the ped in a Wait(0) loop creates duplicates; spawn once in a guarded thread.

Integration Notes

client.lua + server.lua; fxmanifest.lua lists both with dependency 'es_extended'. Pairs naturally with the damage model (entry 07) as its recovery sink. Test: ensure <resource>, damage a car, drive to [STATION_COORDS], press E to repair (cash drops, car is pristine) and G to get a flatbed.

Profit Potential

$320–$4400/mo on Tebex (expected ~$1150). [INFERRED] Mechanic-job content sells strongly; the NPC and tow scope plus a server-side economy place it in the upper band.

Trend Signal

β†— rising β€” vehicle modding/tuning niche-selection 3.75; corpus ox_fuel active.

Sales Angle

Sell as the mechanic-job anchor and recovery sink for the damage model β€” NPC repair plus a flatbed tow, both charged server-side. Recommend $179 on Tebex.

Difficulty & Ship Time

advanced Β· ships in 1-2 days.