gta6/prompts
ui
Vaultadvancedui

Third-Eye Target System (Entity, Zone & Bone Options)

A raycast third-eye targeting framework that attaches context options to entities, models, zones and ped bones, then fires server-authoritative events on selection.

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

Description

A raycast third-eye targeting system: the player holds a key, a ray from the camera finds the entity, model, zone or ped bone under the reticle, and a context list of options appears. Servers sell this because it is the interaction layer the rest of their resources plug into — every shop, job and stash registers options against it instead of scattering static markers across the map.

Prompt Template

You are writing a FiveM third-eye target system for the <esx|qbcore|qbox…

🔒 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/11-target-eye-system.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 grants — an option that adds money/items locally is an instant exploit; the client may only request, the server decides.
  • Anim plays nothingTaskPlayAnim before the dict loads silently no-ops.
  • One-sided net event — forgetting RegisterNetEvent on the receiving side drops the notify round-trip.
  • Backtick hashes`model` literals break tooling; use GetHashKey.

Corrective re-prompt: "The soda option granted the item from client.lua — move all state changes into server.lua, have the client only TriggerServerEvent, and TriggerClientEvent a notify back. Also wrap TaskPlayAnim with RequestAnimDict + a 'while not HasAnimDictLoaded(dict) do Wait(0) end' loop."

Framework Integration

  • ESX: resolve ESX = exports['es_extended']:getSharedObject() server-side and apply rewards with xPlayer.addMoney / xPlayer.addInventoryItem.
  • QBCore: QBCore = exports['qb-core']:GetCoreObject(); grant via Player.Functions.AddMoney('cash', amount) after validating the option.
  • QBox: use exports.qbx_core:GetPlayer(src) and the qbx player methods; the raycast/option client code is framework-agnostic.

Profit Potential

$500–$6000/mo on Tebex (expected ~$2200). [INFERRED] priced in the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo); a hot, dependency-grade primitive sits high in the band.

Trend Signal

🔥 hot — corpus: ox_target is a near-universal dependency in the ox ecosystem the signal-scraper tracks; third-eye is the modern interaction backbone replacing static markers.

Sales Angle

Position it as the interaction backbone every other resource hooks into — a foundational dependency, not a one-off feature. Recommended Tebex price $329.

Difficulty & Ship Time

advanced · ships in 1 day.