gta6/prompts
heists
Vaultintermediateheists

Diversion Decoy — Pull Police With a Fake Call

ESX misdirection tool where a fake emergency call alerts on-duty police to a decoy location and the server owns the cooldown and the timed heist window.

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

Description

A working ESX police-diversion tool: the player makes a fake emergency call that sets a waypoint and alert for every on-duty officer at a decoy location, opening a timed window elsewhere for the crew. The server owns the per-player cooldown and the dispatch fan-out, making it a planning-layer mechanic rather than an exploitable button.

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/27-diversion-decoy-police-pull.lua. It implements the phone-call anim, a server os.time() per-source cooldown that rejects early calls, a…

🔒 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 cooldown — Claude gates the cooldown client-side, so it can be bypassed. Track lastCall[src] with os.time() on the server and reject early calls there.
  • Anim before loadTaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event — defining decoy:policeAlert/decoy:windowOpen on only one side breaks the round-trip; both sides use RegisterNetEvent + AddEventHandler.
  • Broadcast to everyone — alerting all players instead of on-duty police leaks the decoy; fan out only to the police job.

Corrective re-prompt: "Enforce the decoy cooldown on the server with os.time() and lastCall[src], rejecting early calls with decoy:onCooldown. Fan the alert out only to ESX.GetExtendedPlayers('job','police'), and send the timed window only to the caller. The client must not gate the cooldown."

Framework Integration

  • ESX: as written — getSharedObject() and ESX.GetExtendedPlayers('job','police') for the dispatch fan-out.
  • QBCore: swap to exports['qb-core']:GetCoreObject() and fan out via QBCore.Functions.GetPlayersOnDuty('police') / GetPlayer per source.
  • QBox: use exports.qbx_core:GetPlayer and exports.qbx_core:GetPlayersOnDuty('police'); the cooldown logic is identical.

Profit Potential

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

Trend Signal

rising — strategy: Niche matrix: pre-heist police diversion is an underserved misdirection mechanic.

Sales Angle

The pre-heist misdirection layer crews plan around — pull the cops away to a decoy and open a real window on the target. Recommended Tebex price $239.

Difficulty & Ship Time

intermediate · ships in 3-5h.