Kartik Scripts

qb / ps / lj-inventory

For QBCore servers running qb-inventory, ps-inventory or lj-inventory. All three are set up the same way, and the script detects which one you run.

1. Add the items

Open qb-core/shared/items.lua and paste these items inside the items table:

gang_tablet = { name = 'gang_tablet', label = 'Gang Tablet', weight = 800, type = 'item', image = 'gang_tablet.png', unique = true, useable = true, shouldClose = true, description = 'Encrypted tablet used by street organisations' },
spray_can = { name = 'spray_can', label = 'Spray Can', weight = 350, type = 'item', image = 'spray_can.png', unique = false, useable = true, shouldClose = true, description = 'Mark your territory' },
spray_remover = { name = 'spray_remover', label = 'Spray Remover', weight = 400, type = 'item', image = 'spray_remover.png', unique = false, useable = true, shouldClose = true, description = 'Removes graffiti from walls' },
rope = { name = 'rope', label = 'Rope', weight = 300, type = 'item', image = 'rope.png', unique = false, useable = false, shouldClose = true, description = '' },
head_bag = { name = 'head_bag', label = 'Head Bag', weight = 150, type = 'item', image = 'head_bag.png', unique = false, useable = false, shouldClose = true, description = '' },
spy_cam = { name = 'spy_cam', label = 'Hidden Camera', weight = 250, type = 'item', image = 'spy_cam.png', unique = false, useable = true, shouldClose = true, description = '' },
spy_gps = { name = 'spy_gps', label = 'GPS Tracker', weight = 150, type = 'item', image = 'spy_gps.png', unique = false, useable = true, shouldClose = true, description = '' },
spy_motionsensor = { name = 'spy_motionsensor', label = 'Motion Sensor', weight = 200, type = 'item', image = 'spy_motionsensor.png', unique = false, useable = true, shouldClose = true, description = '' },
spy_binoculars = { name = 'spy_binoculars', label = 'Tactical Binoculars', weight = 700, type = 'item', image = 'spy_binoculars.png', unique = true, useable = true, shouldClose = true, description = '' },
spy_detector = { name = 'spy_detector', label = 'Signal Detector', weight = 600, type = 'item', image = 'spy_detector.png', unique = true, useable = true, shouldClose = true, description = '' },

Older QBCore versions write items as ['gang_tablet'] = { ... }. Both styles work, so match whatever your file already uses.


2. Dirty money

Gangs use a black_money item for dirty money. If your server doesn't have one, add it:

black_money = { name = 'black_money', label = 'Dirty Money', weight = 0, type = 'item', image = 'black_money.png', unique = false, useable = false, shouldClose = false, description = 'Dirty money' },

Already use markedbills or another dirty money item? Change DirtyItem in shared/economy.lua to that item's name.


3. Add the images

Copy every image from the script's images/ folder into your inventory's image folder:

InventoryFolder
qb-inventoryqb-inventory/html/images/
ps-inventoryps-inventory/html/images/
lj-inventorylj-inventory/html/images/

4. Check the drug items

Corner selling uses the drugs weed, meth and coke_brick. If your server's drug items have different names (for example weed_skunk or cokebaggy):

  1. Join the server and open /gangadmin.
  2. Go to Corners.
  3. Change the item names in the drug list and save.

5. Restart

Restart the server so QBCore loads the new items.

✅ Done. Continue with Installation Guide → Step 6.

On this page