Frameworks
Gangs V2 works on Qbox, QBCore and ESX. It detects your framework automatically. There are only a few small differences to know about.
🟢 Qbox
- Works out of the box. Leave
fxmanifest.luaas it is. - Use ox_inventory or tgiann-inventory.
- Dirty money is an item (
black_moneyby default). See your inventory page. - Admins: players with Qbox's
adminpermission can open/gangadmin.
🔵 QBCore
- Open
fxmanifest.luaand delete this line:
'@qbx_core/modules/playerdata.lua', -- For QBOX- Use ox_inventory, qb-inventory, ps-inventory, lj-inventory or tgiann-inventory.
- Dirty money is an item (
black_moneyby default). Many QBCore servers usemarkedbills; if yours does, set DirtyItem inshared/economy.luato'markedbills'. - Admins: normal QBCore admins (anyone with the
commandpermission) can open/gangadmin.
🟠 ESX
- Open
fxmanifest.luaand delete this line:
'@qbx_core/modules/playerdata.lua', -- For QBOX- Use ox_inventory.
- Dirty money uses ESX's built-in
black_moneyaccount. You don't need an item. - Admins: players in the
admin,superadminorgodgroup can open/gangadmin.
💵 Money used by the script
| Money | Qbox / QBCore | ESX |
|---|---|---|
| Player cash (treasury deposits, market) | cash account | money account |
| Player bank (market, when set to bank) | bank account | bank account |
| Dirty money | black_money item | black_money account |
The player cash account used for treasury deposits can be changed with PlayerAccount in shared/economy.lua.
👮 Police jobs
The script needs to know which jobs are police, for raids, dispatch alerts and blocking police from corner selling. The default list is:
police, sheriff, bcso, sasp, lspd
Change it with PoliceJobs in shared/core.lua.
➡️ Next: Supported Scripts