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 TStudio Store Robbery, the projectx-bridge asset is automatically delivered to your CFX portal.
The bridge supports 25+ dispatch systems including PS Dispatch, CodeSign, LB Tablet, FD Dispatch, Wasabi MDT, Sonoran CAD, and many more. Set Dispatch to 'auto' in the bridge config for automatic detection. See the Bridge Overview for the full list.
The script supports three store types with tier-based loot:
  • 24/7 Supermarkets — 9 locations (TStudio 24/7 interiors)
  • Gas Stations — 5 locations (TStudio LTD, FM LTD Gasoline, or default GTA)
  • Liquor Stores — 5 locations (MXC Liquor Store or default GTA)
Enable or disable individual locations in Config.Stores247, Config.GasStations, and Config.LiquorStores.
None is strictly required. The config checks which map resource is started and loads the matching layout:
  • Gas stations: tstudio_gasstations or tstudio_ltd → TStudio flow. cfx-fm-ltd-gasoline → classic flow on the FM layout. Neither → classic flow on the default GTA gas stations.
  • Liquor stores: cfx-mxc-liquorstore → MXC layout. Otherwise → default GTA liquor stores.
Make sure the map is started before the robbery script, otherwise the default layout is loaded.
The 24/7 stores and the TStudio LTD gas stations use a multi-room flow built around the TStudio interiors:
1

Start the robbery

Silent (24/7 only): test the fusebox with an x_circuittester. Loud: threaten the clerk with an allowed weapon.
2

Threaten the clerk

The clerk empties the register for you and hands over the storekey. A sticky note with the staff PIN appears at the counter. The shelves and ATM can now be robbed (the ATM needs an x_device).
3

Enter the staff PIN

Read the sticky note and enter the PIN on the staff door keypad.
4

Cut the power and the stock cage lock

In stores with a stock cage, cut the power at the electrical box, then cut the gate lock with an x_boltcutter. Cutting the lock with the power still on tases you.
5

Hack the stock room laptop

Log in with an x_harddrive. The laptop shows the office code mixed in with decoy codes.
6

Open the office

Enter the office code on the office keypad. This consumes the storekey.
7

Crack the safe

Log in to the office computer and complete the safe hack. The safe door opens and you can grab the cash.
The TStudio LTD gas stations have no fusebox, electrical box, or stock cage, so they start loud and go straight from the staff door to the laptop. Banham Canyon is a small 24/7 with only the clerk, ATM, and shelves.
The loud approach starts by threatening the clerk with a weapon from Config.Weapons. On 24/7 stores, a loud start only pays out the partial safe (Config.SafeCorruptStores247).The silent approach (24/7 only) starts at the fusebox with an x_circuittester. The clerk still has to be threatened afterwards, but the safe pays out in full (Config.SafeStores247).Dispatch timing for each approach is controlled by DispatchLocation in config/config.lua.
The FM/default gas stations and all liquor stores use the classic flow from the other Project X store robberies: lockpick the register, threaten the clerk for the storekey, hack the ATM with an x_device, and open the safe. Gas stations also have a server (requires an x_harddrive) and two computer steps that reveal the safe code.
Open opensource/client/client.lua and find the Minigame(Step) function. Each robbery 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.The TStudio keypads, laptop, office computer, electrical box, and ATM screens are built in and tuned through Config.Minigames. See the Open Source page for the full function and a table of the default minigame assignments.
Use the /projectxstore in-game command (requires admin permissions) to reset the nearest store, or call the Reset(location) 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.
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.
Adjust Config.Minigames in config/config.lua. Each built-in game has its own table: Laptop, Computer, ElecBox, and Atm. You can also change the keypad lockout (KeypadLock), the number of decoy office codes (OfficeCodeDecoys), and the tase damage at the gate (Gate).
Enable Bonus.Status and configure the Bonus.Items table in config/config.lua. Each item has a Chance percentage and an Amount range.
Set Cooldown.Global to true to lock all stores when one is robbed. Set it to false (the default) for individual per-store cooldowns. Adjust the duration with Cooldown.Timer (in minutes).

Troubleshooting

Make sure you have all required dependencies started before the script in your server.cfg (projectx-bridge, ox_lib, your store maps, and minigames).
Verify all minigame resources (bl_ui, pure-minigames, SN-Hacking, pd-safe) are started and placed outside the robbery script folder. The bridge’s MinigameCheck will return false if a minigame resource is missing.
The gas station layout is chosen when the config loads. Start tstudio_gasstations / tstudio_ltd (or cfx-fm-ltd-gasoline) before projectx-storerobbery-tstudio, then restart the robbery script.
The script looks up each door by model and coordinates from Config.DoorList. A warning like Door 1 of Strawberry not found means the door model or position doesn’t match your map version. Check the door entry for that store and make sure the TStudio map is started before the script.
On start, the server compares every enabled store of the same type. If one store is missing an interaction that others have, it prints a warning. This is expected for Banham Canyon, which has no back room. For custom stores, add the missing interaction or disable the location.