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).
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/27-diversion-decoy-police-pull.lua. It implements the phone-call anim, a server os.time() per-source cooldown that rejects early calls, 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 cooldown — Claude gates the cooldown client-side, so it can be bypassed. Track
lastCall[src]withos.time()on the server and reject early calls there. - Anim before load —
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - One-sided net event — defining
decoy:policeAlert/decoy:windowOpenon only one side breaks the round-trip; both sides useRegisterNetEvent+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()andESX.GetExtendedPlayers('job','police')for the dispatch fan-out. - QBCore: swap to
exports['qb-core']:GetCoreObject()and fan out viaQBCore.Functions.GetPlayersOnDuty('police')/GetPlayerper source. - QBox: use
exports.qbx_core:GetPlayerandexports.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.