gta6/prompts
heists
Vaultintermediateheists

CCTV Hijack — Camera Vision-Cones & Feed Loop

ESX/QB utility that loops the CCTV feed from the security room to blind camera vision-cones, with a server-authoritative loop state and detection.

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

Description

A CCTV hijack utility: cameras sweep vision-cones that trigger an alarm if they catch a player, until someone hacks the security-room terminal to loop the feed and blind every camera server-wide for a window. The server owns the loop state and broadcasts it so all crew benefit. It's evergreen plumbing that plugs into any heist.

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/16-cctv-hijack-vision-cones.lua. It tests the ped against camera vision-cones each frame, hacks the terminal to request a server-owned feed…

🔒 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-local loop — Claude flips a local looped flag so cameras blind for one player only; keep the loop state server-side and broadcast to all clients.
  • Anim before loadTaskPlayAnim no-ops without a loaded dict; always RequestAnimDict + a HasAnimDictLoaded wait loop.
  • One-sided detection — a one-sided event breaks the alarm round-trip; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Hold the looped boolean and loop timer on the server, set it on startLoop and broadcast cctv:loopState to all clients with TriggerClientEvent(-1), clear it after the duration, and only raise cctv:alarm from the server when detected while not looped."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); gate the hack behind a job check via xPlayer.getJob() if desired.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); resolve the actor with QBCore.Functions.GetPlayer(src) for job/permission gating.
  • QBox: use exports.qbx_core:GetPlayer(src) for the same job/permission gate.

Profit Potential

$150–$2000/mo on Tebex (expected ~$500). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), set for a stable evergreen-utility niche.

Trend Signal

stable — corpus: Maps to ox_target interaction activity (corpus); camera/feed control is steady evergreen utility.

Sales Angle

Position as the evergreen heist utility that plugs into any job — vision-cone detection plus a server-synced feed loop the whole crew shares. Recommended Tebex price $89.

Difficulty & Ship Time

intermediate · ships in 2-4h.