Kartik Scripts

tgiann-inventory

For Qbox and QBCore servers running tgiann-inventory.

1. Add the items

Open tgiann-inventory's items file and add these items:

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 = '' },

tgiann-inventory has changed its item format between versions. If your items file looks different, copy the layout of an existing item in that file and fill in the same name, label, weight and image as above.


2. Dirty money

Gangs use a black_money item for dirty money. If your server doesn't already 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 a different dirty money item? Change DirtyItem in shared/economy.lua to that item's name.


3. Add the images

tgiann-inventory loads images from its inventory_images resource. Copy every image from the script's images/ folder into:

inventory_images/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:

  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 the new items load.

✅ Done. Continue with Installation Guide → Step 6.

On this page