Skip to content

Traphouse Robbery v1.0.7

Traphouse Robbery (sd-traphouse) is a Vagos gang traphouse robbery for FiveM. Break into the front door, collect cash, drugs, weapons, and valuables from 22 interactive props scattered throughout the property, crack open a vault, and fight off NPC guards. Features hacking minigames, weighted loot tables, and doorlock integration.

Preview

Traphouse Robbery — Full Showcase

Key Features

Multi-Stage Robbery

StageMethodRequired ItemAction
Front DoorHackinggang-keychainPick the lock to enter the traphouse
Prop CollectionHacking per object--Collect 22 lootable props throughout
VaultSafe crackingsafecrackerCrack the vault safe for high-value loot

22 Lootable Props

The traphouse is filled with interactive objects, each with its own hacking minigame and loot:

CategoryPropsExample Loot
CashMoney piles, cash stacks, wrapped money$400-$3,000 per prop
DrugsCoke packages, coke baggies, cutting blocks1-6 coke items per prop
WeaponsMicro SMG, Pistol .50, Baseball Bat1 weapon per prop
ValuablesRolex watches, gold bars, statue box1-5 items per prop
DocumentsYacht codes1 per prop

NPC Guards

  • 4 guards spawn at predefined locations
  • Randomized Ballas gang ped models
  • 300 HP, armed with pistols or SMGs
  • Combat AI with 60% accuracy
  • Lootable on death with weighted reward system:
CategoryChanceExamples
Pistols37%Heavy Pistol, Pistol, Pistol Mk2
Rare Weapons15%Assault Rifle, Compact Rifle, MG
SMGs32%Assault SMG, Mini SMG, Combat PDW
Shotguns25%Sawn-off, Pump, Double Barrel
Ammo45%Various ammo types
Medical45%Bandages, Revive Kits

Vault System

  • Located inside the traphouse
  • Requires safecracker item
  • Safe cracking animation (5-10 seconds)
  • Separate hacking minigame from other objects
  • Spawns opened safe model on success

Model Hiding

The script hides 13 default GTA models in the traphouse area and replaces them with lootable prop variants, creating a seamless looting experience.

Hacking Minigames

Supports 30+ configurable minigame resources with separate settings for the front door, objects, and vault. Includes ps-circle, hacking-opengame, lib.skillCheck, bl_ui games, glitch minigames, and many more.

Additional Features

  • Minimum police requirement (default: 3)
  • Global cooldown (default: 60 minutes)
  • Police dispatch alert on entry (code 10-31H)
  • Doorlock integration (ox_doorlock SQL + qb-nui_doorlock config)
  • Comprehensive logging (Discord, Fivemanage, Fivemerr, Loki, Grafana)

Supported Frameworks

FrameworkStatus
qb-coreFully supported
qbx_coreFully supported
es_extended (ESX)Fully supported

Supported Inventories

InventoryStatus
ox_inventoryFully supported
tgiann-inventorySupported
jaksam_inventorySupported
qs-inventorySupported
qs-inventory-proSupported
qb-inventorySupported
ps-inventorySupported
lj-inventorySupported
codem-inventorySupported

Supported Target Systems

TargetStatus
ox_targetFully supported
qb-targetFully supported
qtargetFully supported

Dependencies

DependencyOptions
Frameworkqb-core / qbx_core / es_extended
Librarysd_lib (required)
Target Systemox_target / qb-target / qtarget
Doorlockox_doorlock / qb-nui_doorlock
MinigameAny one of 30+ supported resources

INFO

Framework, inventory, and target system are all auto-detected via sd_lib. No custom database tables are created -- all state is managed in memory during active robberies.

File Structure

sd-traphouse/
  client/
    main.lua              -- Client-side robbery logic, props, guards
  server/
    logs.lua              -- Logging configuration
    main.lua              -- Server-side state, loot, cooldowns
  doorlock/
    ox_doorlock/
      traphouse.sql       -- SQL insert for front door
    qb-nui_doorlock/
      traphouse.lua       -- Door config for qb-nui_doorlock
  locales/
    ar.json               -- Arabic
    de.json               -- German
    en.json               -- English
    es.json               -- Spanish
    fr.json               -- French
  images/
    gang-keychain.png
    safecracker.png
  [SQL]/ESX/items.sql     -- ESX item definitions
  config.lua              -- All configuration
  fxmanifest.lua