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).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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.removeMoneyhandle the reward and release fee;ESX.GetPlayerFromIdresolves owner. - QBCore: swap to
Player.Functions.AddMoney('cash', n)/RemoveMoney; resolve viaQBCore.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.