gta6/prompts
heists
Vaultadvancedheists

Heist Prep Board — Buy Intel, Gear & Getaway

ESX planning-table meta-layer where crews buy prep (intel, charges, disguises, getaway) with server-owned prices and a per-player prep state that buffs the heist.

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

Description

A working ESX heist prep board: a planning table where the crew opens an NUI menu and buys prep — intel, breaching charges, disguises, getaway driver — each with a server-owned price, deducted from the player's cash and stored in a server-side prep state. A server callback exposes the owned prep so any heist resource can read the buffs, turning isolated jobs into a planned campaign.

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/heists/28-heist-prep-planning-board.lua. It implements the proximity board with an NUI focus menu and buy/close callbacks, a server Prices table…

🔒 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 wallet — Claude checks balance and stores prep on the client, so prep can be granted free. Keep prices, removeMoney, and prepOwned on the server.
  • Anim before loadTaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event — defining prep:state on only one side stops the NUI updating; both sides use RegisterNetEvent + AddEventHandler.
  • No re-buy guard — without an already-owned check a player double-charges or stacks the same prep; reject duplicates server-side.

Corrective re-prompt: "Keep the entire economy on the server: a Prices table, an xPlayer.getMoney() check before xPlayer.removeMoney, and a per-source prepOwned table. Reject unknown ids and already-owned prep. The client only opens the NUI and sends buy intents; expose prep via ESX.RegisterServerCallback('prep:getBuffs')."

Framework Integration

  • ESX: as written — getSharedObject(), xPlayer.getMoney(), xPlayer.removeMoney(price), and ESX.RegisterServerCallback('prep:getBuffs', ...).
  • QBCore: swap to exports['qb-core']:GetCoreObject(), check Player.PlayerData.money.cash and use Player.Functions.RemoveMoney('cash', price); expose buffs via QBCore.Functions.CreateCallback.
  • QBox: use exports.qbx_core:GetPlayer(src), player.Functions.RemoveMoney('cash', price) and a lib.callback.register for the buffs read; the prep-state logic is unchanged.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a stable, sticky meta-layer niche.

Trend Signal

stable — strategy: Niche pick: a prep/planning meta-layer that buffs heists is a proven, sticky framework piece.

Sales Angle

The planning meta-layer that turns one-off heists into a campaign — buy intel, charges, disguises and a getaway that buff the score, with a callback any heist resource reads. Recommended Tebex price $189.

Difficulty & Ship Time

advanced · ships in 6-8h.