gta6/prompts
mechanic
Vaultintermediatemechanic

Impound & Repo Contracts

ESX repossession contracts — accept a marked-vehicle repo job, deliver it to the impound lot, and release it back to its owner for a server-charged fee.

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

Description

An ESX repo contract loop: a player accepts a repossession job, a target vehicle is marked with a GPS blip, they tow/drive it to the impound lot, and the owner later pays a server-charged release fee to recover it. It mirrors the well-worn ox_doorlock/impound pattern that LEO and tow servers run as a steady economy staple.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 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/mechanic/27-impound-repo-contracts.lua. It implements a server-issued repo contract (plate + coords + fee), a delivery check that pays the repo…

🔒 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 money — charging/paying on the client lets anyone release free; route every move through the server.
  • Unvalidated target — letting the client choose the repo vehicle enables repoing arbitrary cars; the server issues and owns the target.
  • One-sided net event — accept/deliver/release on a single side never closes the loop; both sides need RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move the contract issuance and all money to the server: repo:accept picks the plate/coords/fee server-side into contracts[src], repo:deliver only pays when the delivered plate matches the issued one, and repo:release charges with xOwner.removeMoney(fee) after a getMoney() >= fee check. Remove every client-side balance change and confirm both sides register the events."

Framework Integration

  • ESX: native — xPlayer.addMoney / xPlayer.removeMoney handle the reward and release fee; ESX.GetPlayerFromId resolves owner.
  • QBCore: swap to Player.Functions.AddMoney('cash', n) / RemoveMoney; resolve via QBCore.Functions.GetPlayer.
  • QBox: identical to QBCore via exports.qbx_core:GetPlayer; money functions map one-to-one.

Profit Potential

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

Trend Signal

stable — corpus: Mirrors ox_doorlock/impound patterns; LEO-RP impound is a steady corpus staple.

Sales Angle

A dependable economy filler for tow/LEO servers. Price mid-band at $129-189 and bundle it with the tow dispatch (#29) and flatbed (#26) for a complete tow-job pack.

Difficulty & Ship Time

intermediate · ships in 2-4h.