gta6/prompts
gangs
Vaultadvancedgangs

Gang Hideout HQ (Instanced)

ESX purchasable instanced HQ with gang-only door access, a routing-bucket interior and a member spawn point, all gated and teleported server-side.

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

Description

A working ESX instanced gang HQ: members of the owning gang press E at the entrance to be teleported into a private routing-bucket interior with a spawn point, and a non-member is denied. Ownership, the routing bucket and the teleport are all decided server-side, making it the flagship gang-base script roleplay servers sell as a premium upsell.

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/20-gang-hideout-hq.lua. It implements the entrance/exit proximity prompts and door anim on the client, and server-side ownership gating, lazy…

πŸ”’ 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-side gating β€” Claude teleports and sets the bucket on the client, so a non-member walks in. Check OwnedBy[gang], set the bucket and teleport on the server only.
  • Anim before load β€” the door TaskPlayAnim no-ops if the dict is not loaded; always RequestAnimDict + while not HasAnimDictLoaded(dict) do Wait(0) end.
  • Bucket on the wrong side β€” SetPlayerRoutingBucket must run server-side or instances bleed together; never call it from the client.

Corrective re-prompt: "Move all authority to the server: the client may only send hq:enter / hq:leave. On the server, read the caller's gang from ESX, reject if OwnedBy[gang] is nil, call SetPlayerRoutingBucket server-side, and only then TriggerClientEvent('hq:teleport', ...)."

Framework Integration

  • ESX: exports['es_extended']:getSharedObject(); gang via xPlayer.getJob().name.
  • QBCore: exports['qb-core']:GetCoreObject(); gang via Player.PlayerData.gang.name; same SetPlayerRoutingBucket call server-side.
  • QBox: exports.qbx_core:GetPlayer(src); gang via player.PlayerData.gang.name; bucket and teleport identical.

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: Gang HQ access maps to ox_doorlock (tracked corpus resource); 'hideouts' is a named matrix driver.

Sales Angle

The flagship gang-base script β€” an instanced, ownership-gated HQ with a spawn point is a core upsell for any server running gangs. Recommended Tebex price $149.

Difficulty & Ship Time

advanced Β· ships in 1 day.