gta6/prompts
mechanic
Vaultintermediatemechanic

Scrapyard Vehicle Chop

An ESX/QBCore/QBox + ox_inventory chop-shop: strip a vehicle into parts, delete the shell, and pay out salvage — parts and payout granted 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
~65 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A scrapyard loop where a player strips a vehicle into component parts that land in their ox_inventory, deletes the shell, and collects a salvage payout. Chop shops are a perennial criminal-RP category in the corpus, and this one keeps the parts and cash strictly server-granted.

Prompt Template

Write a FiveM QBCore Lua resource "scrapchop" using oxinventory: strip a vehicle…

🔒 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/11-scrapyard-vehicle-chop.lua implements a dict-loaded chop anim, a server-validated strip that grants parts via oxinventory:AddItem and pays…

🔒 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 payout — parts and cash are granted client-side. Move both to the server strip handler.
  • Unvalidated netId — the server pays without re-checking the entity. Require NetworkGetEntityFromNetworkId + DoesEntityExist before any grant.
  • Unloaded animTaskPlayAnim fires before the dict loads. Mandate the RequestAnimDict/HasAnimDictLoaded wait loop.

Corrective re-prompt: Grant parts and cash only on the server inside scrapchop:strip after re-validating the entity from the netId with DoesEntityExist, and wrap the chop anim in RequestAnimDict + a HasAnimDictLoaded wait loop.

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(); pay with xPlayer.addMoney(payout) and keep ox_inventory:AddItem.
  • QBCore: exports['qb-core']:GetCoreObject() + Player.Functions.AddMoney('cash', payout, 'scrapyard-chop') as written.
  • QBox: exports.qbx_core:GetPlayer(src); ox_inventory is native to QBox so AddItem ports directly.

Profit Potential

$140–$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 script band against the signal-scraper corpus (median seller $11.85K/mo, n=100), scaled for a stable criminal-RP niche.

Trend Signal

stable — corpus: Chop-shop scripts are a recurring ox_inventory Tebex category (scraper-observed); steady criminal-RP demand.

Sales Angle

Position as a clean, server-safe chop shop for criminal-RP servers — the payout economy is the selling point. Recommended Tebex price $120, or bundle into a crime pack.

Difficulty & Ship Time

intermediate · ships in 3-5h.