Rep Scripts
  • Rep Scripts
  • Free Scripts
    • 💬rep-talkNPC
  • Paid Scripts
    • 🌱rep-weed
      • 📌READ ME
      • 📃Installation
        • 🔴QB
          • SQL installation
          • Add items
            • qb-inventory
            • ox_inventory
          • Joints, carry, player metadata
          • Inventory Installation
            • qb-inventory
            • ox_inventory
        • 🟨ESX
          • SQL installation
          • Ox_inventory Installation
    • 🛡️Anti Trigger
      • 💻Installation
Powered by GitBook
On this page

Was this helpful?

  1. Paid Scripts
  2. rep-weed
  3. Installation
  4. QB
  5. Add items

qb-inventory

Add Items

PreviousAdd itemsNextox_inventory

Last updated 1 year ago

Was this helpful?

  1. Copy the image files from the img folder to your qb-inventory > html > images folder.

  2. Add the following codes to your qb-core > shared >items.lua file under the Items section:

qb-core > shared > items.lua
-- rep-weed
	['femaleseed'] 					 = {['name'] = 'femaleseed', 			 	  	  	['label'] = 'Female Marijuana Seed', 					['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'weed-seed.png', 				['unique'] = true, 		['useable'] = true, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Surely I can just plant this, right?'},
	['maleseed'] 					 = {['name'] = 'maleseed', 			 	  	  	['label'] = 'Male Marijuana Seed', 					['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'weed-seed.png', 				['unique'] = false, 		['useable'] = false, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Add this to a planted female seed to make it pregnant? You are pretty sure this seed has a penis.'},
	['wateringcan'] 					 = {['name'] = 'wateringcan', 			 	  	  	['label'] = 'Watering Can', 					['weight'] = 7000, 		['type'] = 'item', 		['image'] = 'wateringcan.png', 				['unique'] = true, 		['useable'] = true, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Fill this at a river or lake.'},
	['fertilizer'] 				 	 = {['name'] = 'fertilizer', 			  	  	['label'] = 'Fertilizer', 				['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'fertilizer.png', 			['unique'] = false, 	['useable'] = false, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'Cool'},
	['wetbud'] 					 = {['name'] = 'wetbud', 			 	  	  	['label'] = 'Wet Bud (100 grams)', 					['weight'] = 35000, 		['type'] = 'item', 		['image'] = 'wet.png', 				['unique'] = true, 		['useable'] = false, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'THIS CANT BE DRIED WITHOUT STRAIN... Needs to be stored somewhere dry.'},
	['driedbud'] 					 = {['name'] = 'driedbud', 			 	  	  	['label'] = 'Dried Bud (100 Grams)', 					['weight'] = 10000, 		['type'] = 'item', 		['image'] = 'driedbud.png', 				['unique'] = true, 		['useable'] = true, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Pack It?'},
	['weedpackage'] 					 = {['name'] = 'weedpackage', 			 	  	  	['label'] = 'Suspicious Package', 					['weight'] = 25000, 		['type'] = 'item', 		['image'] = 'weedpackage.png', 				['unique'] = true, 		['useable'] = true, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Marked for Police Seizure'},
	['qualityscales'] 					 = {['name'] = 'qualityscales', 			 	  	  	['label'] = 'High a', 					['weight'] = 2000, 		['type'] = 'item', 		['image'] = 'qualityscales.png', 				['unique'] = true, 		['useable'] = false, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Weighs Baggies with no loss'},
	['smallscales'] 					 = {['name'] = 'smallscales', 			 	  	  	['label'] = 'Small Scales', 					['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'smallscales.png', 				['unique'] = true, 		['useable'] = false, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Weighs Baggies with minimal loss'},
	['emptybaggies'] 					 = {['name'] = 'emptybaggies', 			 	  	  	['label'] = 'Empty Baggies', 					['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'emptybaggies.png', 				['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,   ['combinable'] = nil,   ['description'] = 'Empty Baggies'},
	['joint'] 					 = {['name'] = 'joint', 			 	  	  	['label'] = '2g Joint', 					['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'joint.png', 				['unique'] = true, 		['useable'] = true, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Its a Joint, man.'},
	['weedbaggie'] 					 = {['name'] = 'weedbaggie', 			 	  	  	['label'] = 'Baggie (7g)', 					['weight'] = 1000, 		['type'] = 'item', 		['image'] = 'weedbaggie.png', 				['unique'] = true, 		['useable'] = true, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'Sold on the streets'},
	['rollingpaper'] 					 = {['name'] = 'rollingpaper', 			 	  	  	['label'] = 'Rolling Paper', 					['weight'] = 2000, 		['type'] = 'item', 		['image'] = 'rollingpaper.png', 				['unique'] = false, 		['useable'] = false, 	['shouldClose'] = true,   ['combinable'] = nil,   ['description'] = 'Required to roll joints!'},
🌱
📃
🔴
items.lua