Description
A stealth-infiltration layer: guard peds walk a patrol route with dot-product vision cones plus a line-of-sight check, the player can knock one out and drag the body out of view, and any detection raises a single server-authoritative alarm. Servers buy it because AI patrols and body-drag stealth are underserved and instantly raise a heist pack's production ceiling.
Prompt Template
You are writing a FiveM resource for qb-core (QBCore). Produce TWO files…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua lives at content/expected-outputs/heists/19-stealth-guard-patrol-takedown.lua. It implements model-loaded patrol guards, a vision cone that pairs HasEntityClearLosToEntity with a…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-only alarm — per-client alarm state desyncs the heist; hold one
alarmActiveflag on the server and broadcast withTriggerClientEvent(..., -1, ...). - Cone sees through walls — a pure dot-product cone ignores geometry; gate it with
HasEntityClearLosToEntity. - Anim before load — the takedown melee clip no-ops without
RequestAnimDict+ theHasAnimDictLoadedwait. - Drag attach jitter — re-attaching every frame without a
draggingguard fights the physics; attach once, detach on toggle.
Corrective re-prompt: Make the alarm server-authoritative — move alarmActive into server.lua, set it inside the stealth:spotted handler, broadcast the notify to -1, and clear it via SetTimeout. Keep the client purely a detector that fires stealth:spotted.
Framework Integration
- ESX: swap notifications to
TriggerClientEvent('esx:showNotification', -1, ...); the patrol/cone/drag logic is framework-agnostic. - QBCore:
exports['qb-core']:GetCoreObject(), broadcast viaTriggerClientEvent('QBCore:Notify', -1, ...); tie the alarm intops-dispatchif present. - QBox: use
exports.qbx_coreandexports.qbx_core:Notify; route the alarm toox_libnotifications and anox_targettakedown zone.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), scaled for a rising underserved-stealth niche.
Trend Signal
↗ rising — strategy: Niche matrix: AI guard patrols plus body-drag stealth are underserved; raise a pack's ceiling.
Sales Angle
Position as the stealth layer that lifts an entire heist pack — patrols, vision cones, silent takedowns, body drag — content most packs lack. Recommended Tebex price $199.
Difficulty & Ship Time
advanced · ships in 1 day.