Skip to main content

General Questions

The script supports QBCore, Qbox, and ESX through the Project X Bridge. Set Framework to 'auto' in the bridge config and it will detect your framework automatically.Custom frameworks and any other framework work as well if you add the framework exports in the bridge’s open source files. Set Framework to 'custom' and implement the adapter functions in projectx-bridge. See the Bridge Overview.
Yes. The bridge is required for this script to function. It handles framework detection, inventory, dispatch, notifications, progressbars, XP, evidence, logs, and global cooldowns. See the Bridge Installation page for setup instructions.When you purchase Container Robbery, the projectx-bridge asset is automatically delivered to your CFX portal.
No. All four yards (Port of South Los Santos, Daisy-Lee, Ocean Motion, and Elysian Island Warehouse) use default GTA locations. The electronic lock prop is streamed by the script.
No. projectx-ui is only used for the fixer’s cinematic dialog when Config.Dialog = "projectx". If it isn’t started, the fixer falls back to an ox_lib alert dialog automatically.
There are two ways to start a robbery:Fixer contract
1

Buy a contract

Talk to the fixer and pay the contract price (Config.Fixer.Price). The fixer marks the contract containers on your map (only you see the blips) and hands over a container_pass.
2

Check in at the gate

Show the pass to the gate guard at the yard entrance. This clears your whole crew. Entering the detection zone or robbing a container without checking in sets off the alarm and the guards turn hostile.
3

Open the containers

Cut padlocks and reinforced padlocks with an x_grinder, or bypass electronic locks with an x_device. Each cut has a small chance (DispatchChanceOnCut) of alerting the police.
4

Loot the crates

Open the crates inside each container. Wooden crates need a weapon_crowbar, gun crates need a bag.
The contract expires after Config.Fixer.ExpireTime minutes if not every container was robbed.Loud approachWalk into a yard’s detection zone without a contract. The alarm goes off, police are alerted, and the security guards turn hostile. A random set of containers (ActiveContainers) can then be robbed. With AlarmOnContainer = true, the robbery starts quietly and the alarm only triggers once someone starts robbing a container.
Decoys look exactly like real containers, with the same locks and crates. Their crates are empty (except a small chance of bait loot), and opening one silently alerts the police after Config.Decoy.DispatchDelay seconds. No alarm plays and no guards spawn. Configure or disable them in Config.Decoy.
Each active container rolls a lock from Config.LockTypes. The lock’s Tier decides which crate layouts from Config.CrateLayouts can spawn behind it. Padlocks (tier 1) lead to wooden crates, reinforced padlocks (tier 2) to gun, electronics, and cash crates, and electronic locks (tier 3) to the best gun, explosive, and cash layouts.
Open opensource/client/client.lua and find the projectx-containerrobbery:client:Minigames callback. Each lock and crate step has its own elseif block where you can swap the minigame export for any resource you prefer. You can also return true inside any block to skip that minigame entirely.Locks use the built-in grinder and bypass UIs by default. Set Config.Cutter.Enabled = false to use the lock minigames from the callback instead. See the Open Source page for details.
Use the /projectxcontainerrobbery command (requires admin permissions, or run it from the server console), or call the Reset() server export from another resource:
See the Commands and Exports pages for more details.

Configuration Questions

Set MinimumPolice to the number you want in config/config.lua, and make sure the correct jobs are listed in PoliceJobs. This applies to both the fixer contract and the loud approach.
Add their jobs to IgnoredJobs. Players with these jobs never trigger a detection zone.
Set DisableFixerContracts = true to remove the fixer, so robberies can only start through a detection zone. Set DisableLoudApproach = true so walking into a detection zone no longer starts a robbery.
Set Config.Fixer.Price.Type to "item" and choose the Item and Amount:
List the yard keys in Config.Fixer.Locations. Leave it empty to use all of them.
Set SkillSystem to true and configure MinimumLevel in config/config.lua. You also need a compatible XP system integrated in the bridge config (XPSystem).Supported systems include pickle_xp, sd-levels, cw-rep, and OT_skills.
Copy an existing entry in Config.Locations, rename the key, and update the Alarm, Zones, Containers, GateGuard, and SecurityGuards. Enable debug to see the zones in game while placing them. Keep the GateGuard outside the Detection zone so players can check in without setting off the alarm.

Troubleshooting

Make sure you have all required dependencies started before the script in your server.cfg (projectx-bridge, ox_lib, and minigames).
Verify all minigame resources (bl_ui, lightsout) are started and placed outside the robbery script folder. A missing minigame resource prints a warning in the F8 console and counts the step as failed.
The contract owner or their crew entered the detection zone or started robbing a container before checking in with the gate guard. Show the container_pass to the guard at the yard entrance first. Failing an electronic lock hack also goes loud when FailGoesLoud = true.
If your inventory is full when paying, the fixer keeps the pass and puts you on the gate guard’s list instead. Talk to the gate guard as usual to check in.
Make sure every item in Config.CrateTypes exists in your inventory. Replace ammo-9 with your inventory’s 9mm ammo item if you don’t use ox_inventory.