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).
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/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β¦
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-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
TaskPlayAnimno-ops if the dict is not loaded; alwaysRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - Bucket on the wrong side β
SetPlayerRoutingBucketmust 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 viaxPlayer.getJob().name. - QBCore:
exports['qb-core']:GetCoreObject(); gang viaPlayer.PlayerData.gang.name; sameSetPlayerRoutingBucketcall server-side. - QBox:
exports.qbx_core:GetPlayer(src); gang viaplayer.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.