gta6/prompts
gangs
Vaultadvancedgangs

Hideout Raid & Door Breach

ESX hideout raid where rivals breach a defended HQ door via a timed thermite minigame; on success the server alerts the owner gang and opens the stash.

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

Description

A working ESX hideout raid: a rival stands at a defended HQ door, presses E and runs a ~12s thermite breach minigame; on completion the server checks the raider is not in the owning gang, enforces a cooldown, waypoints every online defender and opens the stash for the raider. This is the offensive content that turns static bases into contested objectives.

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/gangs/21-hideout-raid-breach.lua. It implements the proximity thermite minigame with NUI progress on the client, and a server handler that rejects…

πŸ”’ 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 breach β€” Claude opens the stash / alerts from the client, letting a modder skip the minigame. Validate the raider, cooldown, alert and stash on the server only.
  • Anim before load β€” the thermite TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • One-sided net event β€” raid:alert / raid:stashOpen defined on only one side breaks the round-trip; both sides need RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "The stash and the defender alert are firing client-side. Move them server-side in the raid:breachComplete handler: reject if xPlayer.getJob().name == DoorOwner, enforce RaidCooldown with a lastRaid timestamp, loop GetPlayers() to alert only DoorOwner members, and then grant the stash to source."

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(); gang via xPlayer.getJob().name; iterate with GetPlayers() + ESX.GetPlayerFromId.
  • QBCore: exports['qb-core']:GetCoreObject(); gang via Player.PlayerData.gang.name; iterate QBCore.Functions.GetPlayers().
  • QBox: exports.qbx_core:GetPlayer(src); gang via player.PlayerData.gang.name; iterate exports.qbx_core:GetQBPlayers().

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] $50-389 script band Γ— est units/mo for a rising niche, against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo).

Trend Signal

β†— rising β€” corpus: Door-breach raid built on the ox_doorlock primitive (tracked corpus resource); raid-on-hideout content is rising.

Sales Angle

The offensive half of any hideout system β€” raids manufacture the conflict that makes bases worth fortifying. Bundle with the HQ script or sell standalone at $159.

Difficulty & Ship Time

advanced Β· ships in 1 day.