gta6/prompts
ui
Vaultintermediateui

Objective / Mission Tracker HUD

A side-screen objective checklist HUD with add/update/complete states, driven by client exports and server-pushed events for other scripts.

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

Description

A side-screen objective checklist HUD with active/done states, designed as infrastructure: other scripts drive it through client exports or server-pushed events. As servers ship more scripted jobs and heists, a clean, reusable objective tracker becomes a dependency every content dev wants instead of rebuilding one per script.

Prompt Template

You are writing a FiveM resource: a reusable objective-tracker HUD driven by…

🔒 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/ui/26-objective-tracker-hud.lua implements an id-keyed objective table with add/update/clear that re-render the HUD, client exports, the matching net…

🔒 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

  • Export called too early — consumers hitting the export before this resource starts error out.
  • Unvalidated server push — missing type checks on src/id break the render.
  • Label-keyed state — updating by label desyncs when labels repeat.

Corrective re-prompt: "Key every objective by a stable string id, never by label. In the server push helpers, type-check src is a number and id is a string before TriggerClientEvent. Document the resource as a dependency so consumers ensure it first."

Framework Integration

  • ESX: call exports['objectives']:AddObjective(id,label) from your esx_* job client scripts.
  • QBCore: drive it server-side from heist logic via exports['objectives']:AddObjective(src,id,label).
  • QBox: identical export surface; pair with qbx_core job events to add/clear objectives on job state changes.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against a corpus whose median seller clears $11.85K/mo (signal-scraper tebex_snapshot, n=100); a rising niche as scripted-content servers multiply.

Trend Signal

rising — inferred: Mission/job and heist scripts increasingly need an objective tracker; rising as scripted-content servers grow.

Sales Angle

The drop-in objective HUD content devs integrate in one line instead of rebuilding. Sell it as infrastructure with example job/heist hooks. Recommended Tebex price $139.

Difficulty & Ship Time

intermediate · ships in 2-4h.