Items

You need to add the codes given here to the items section of your inventory/core script.

You can check the ui/items folder for images. If it is not you have to find the images yourself.

ox_inventory/data/items.lua
['rolling_paper'] = {label='Rolling Paper', weight = 1},

['sativa_leaf'] = {label='Sativa Leaf', weight = 1},
['sativa_pure'] = {label='Pure Sativa', weight = 1},
['sativa_rolled'] = {label='Rolled Sativa', weight = 1},	
['sativa_packed'] = {label='Packed Sativa', weight = 1},		

['hybrid_leaf'] = {label='Hybrid Leaf', weight = 1},
['hybrid_pure'] = {label='Pure Hybrid', weight = 1},
['hybrid_rolled'] = {label='Rolled Hybrid', weight = 1},
['hybrid_packed'] = {label='Packed Hybrid', weight = 1},	

['indica_leaf'] = {label='Indica Leaf', weight = 1},
['indica_pure'] = {label='Pure Indica', weight = 1},
['indica_rolled'] = {label='Rolled Indica', weight = 1},
['indica_packed'] = {label='Packed Indica', weight = 1},	

['drug_sprint'] = {label = 'Drug Sprint Dust', weight = 1},
['drug_staminaregen'] = {label = 'Drug Stamina Regen', weight = 1, client={image='drug.png'}},
['drug_staminaboost'] = {label = 'Drug Stamina Boost', weight = 1, client={image='drug.png'}},
['drug_armorboost'] = {label = 'Drug Armor Boost', weight = 1, client={image='drug.png'}},
['drug_healthregen'] = {label = 'Drug Health Regen', weight = 1, client={image='drug.png'}},
['drug_swimmingboost'] = {label='Drug Swimming Boost', weight= 1, client={image='drug.png'}},
['drug_poison'] = {label='Drug Poison', weight= 1, client={image='drug.png'}},
['drug_blur'] = {label='Drug Blur', weight= 1, client={image='drug.png'}},
['drug_dizzy'] = {label='Drug Dizzy', weight= 1, client={image='drug.png'}},
['drug_madness'] = {label='Drug Madness', weight= 1, client={image='drug.png'}},
['drug_blurredwater'] = {label='Water', weight= 500, client={image='water.png'}, description='Looks a little different ?'},

['alcohol'] = {label='Alcohol', weight = 250 },
['toxic_herb'] = {label='Toxic Herb', weight = 250 },
Installation

Last updated