gta6/prompts
ui
Vaultbeginnerui

Cash & Bank HUD with Change Pop-Up

A cash/bank money HUD driven entirely by server-pushed balances that flashes a green +/red - delta animation whenever the total changes.

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

Description

A cash & bank money HUD that flashes a green +$ / red -$ delta whenever the balance changes — the satisfying money pop-up every HUD pack ships. Crucially the client never computes money: it only renders what the server pushes, so the display can't be spoofed and stays in sync with the real wallet.

Prompt Template

You are writing a FiveM money HUD for the <esx|qbcore|qbox framework. Resolve the…

🔒 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/ui/16-money-cash-bank-hud.lua.

🔒 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 — computing or storing the real balance client-side is an instant exploit; render server pushes only.
  • Missing registration — the client must RegisterNetEvent('money:update').
  • Stale diff — always set the local total from the server payload, or the next delta is computed against a wrong baseline.

Corrective re-prompt: "The HUD added money locally on a sale — remove all client-side balance math, have server.lua own the accounts table and TriggerClientEvent money:update with the new totals, and let the client only diff for the flash. Confirm the client RegisterNetEvent's money:update."

Framework Integration

  • ESX: push from esx:setAccountMoney / your own balance change, sending xPlayer.getAccount('money').money and ('bank').money to money:update.
  • QBCore: hook QBCore.Functions.GetPlayer money setters and forward PlayerData.money.cash / .bank to the HUD.
  • QBox: listen to qbx money change events and push GetPlayer(src).PlayerData.money totals; client HUD is identical.

Profit Potential

$130–$1800/mo on Tebex (expected ~$480). [INFERRED] priced in the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a stable HUD-pack staple lands at the band floor.

Trend Signal

stable — inferred: animated money HUD is a staple of every HUD pack; framework money events differ but the UI is universal.

Sales Angle

Position as a framework-agnostic money HUD with a satisfying delta pop-up that drops into any pack — server-authoritative by design. Recommended Tebex price $69.

Difficulty & Ship Time

beginner · ships in 2-4h.