Kartik Scripts

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.lua as it is.
  • Use ox_inventory or tgiann-inventory.
  • Dirty money is an item (black_money by default). See your inventory page.
  • Admins: players with Qbox's admin permission can open /gangadmin.

🔵 QBCore

  • Open fxmanifest.lua and 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_money by default). Many QBCore servers use markedbills; if yours does, set DirtyItem in shared/economy.lua to 'markedbills'.
  • Admins: normal QBCore admins (anyone with the command permission) can open /gangadmin.

🟠 ESX

  • Open fxmanifest.lua and delete this line:
'@qbx_core/modules/playerdata.lua', -- For QBOX
  • Use ox_inventory.
  • Dirty money uses ESX's built-in black_money account. You don't need an item.
  • Admins: players in the admin, superadmin or god group can open /gangadmin.

💵 Money used by the script

MoneyQbox / QBCoreESX
Player cash (treasury deposits, market)cash accountmoney account
Player bank (market, when set to bank)bank accountbank account
Dirty moneyblack_money itemblack_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

On this page