gta6/prompts
drugs
Vaultadvanceddrugs

Lab Raid & Police Bust System

Framework-agnostic police lab-raid event with breach alarms, server-gated evidence collection, destructible setups, and warrant/BOLO hooks.

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

Description

A working framework-agnostic lab-raid event: an officer breaches a lab, an alarm broadcasts the breach, cops collect server-tracked evidence, and destroying the setup ends the raid and clears the warrant/BOLO. This is the police-side counterweight crime servers sell so drug-lab profits carry real bust risk.

Prompt Template

You are writing a FiveM resource for a generic framework via exports['gencore']:getObject().

πŸ”’ 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/drugs/26-lab-raid-police-bust.lua. It implements a server-gated breach with cooldown and warrant/BOLO creation, a police-only per-source evidence…

πŸ”’ 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-trusted job β€” Claude lets the client assert police status; gate every action behind getJob(src) == 'police' on the server.
  • Client-side item grant β€” granting the evidence bag client-side lets a modder spawn it; addItem runs server-side with a per-source guard.
  • One-sided net event β€” defining raid:alarm/raid:setupDestroyed on one side breaks the round-trip; both sides use RegisterNetEvent + AddEventHandler.
  • Anim before load β€” TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + a HasAnimDictLoaded wait loop.

Corrective re-prompt: "Gate raid:breach, raid:collectEvidence and raid:destroySetup behind a server-side getJob(src) == 'police' check, track raid state and a cooldown on the server, and grant the evidence item only with addItem on the server, one per source. The client must only play anims and render the alarm and destruction fx."

Framework Integration

  • ESX: resolve with exports['es_extended']:getSharedObject(); check xPlayer.job.name == 'police' and grant with xPlayer.addInventoryItem('evidence_bag', 1).
  • QBCore: use exports['qb-core']:GetCoreObject(); check Player.PlayerData.job.name == 'police' and call Player.Functions.AddItem('evidence_bag', 1); wire the BOLO to ox_mdt/ps-mdt.
  • QBox: use exports.qbx_core:GetPlayer(src), player.PlayerData.job.name, and exports.ox_inventory:AddItem; raid lifecycle 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 police-co-dependency niche carries solid unit volume.

Trend Signal

β†— rising β€” corpus: Raid lifecycle leans on ox_doorlock + ox_mdt + ps-dispatch β€” the exact police co-dependency the scraper tracks.

Sales Angle

The police-side payoff that makes drug labs genuinely risky β€” a full breach-to-bust lifecycle with warrant and BOLO hooks that pairs with any lab script. Recommended Tebex price $329.

Difficulty & Ship Time

advanced Β· ships in 1 day.