🔴QBCore
Installation guide for the QBCore version of Weed Run
Step 1: Adding Items
If you are using ox_inventory, head over to ox_inventory/data/items.lua and paste the following items in:
['weed_suspiciouspackage'] = { label = 'Suspicious Package', weight = 5, description = 'This package contains something not so legal', }, ['weedbud'] = { label = 'Weed Bud', weight = 2, description = 'Ready to be smoked... or maybe for something else', }, ['marked_bills'] = { label = 'Marked Bills', weight = 5, description = 'These bills have some marks on them', }, ['bands'] = { label = 'Band Of Notes', weight = 3, description = 'A set of one thousand dollar bills', }, ['rolls'] = { label = 'Roll Of Small Notes', weight = 2, description = 'Roll of money', },
If you are using qb-inventory or any other inventory that works the same as qb-inventory, head over to qb-core/shared/items.lua and paste the following items in:
['weed_suspiciouspackage'] = {['name'] = 'weed_suspiciouspackage', ['label'] = 'Suspicious Package', ['weight'] = 500, ['type'] = 'item', ['image'] = 'weed_suspiciouspackage.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'This package contains something not so legal'}, ['weedbud'] = {['name'] = 'weedbud', ['label'] = 'Weed Bud', ['weight'] = 250, ['type'] = 'item', ['image'] = 'weedbud.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Ready to be smoked... or maybe for something else'}, ['marked_bills'] = {['name'] = 'marked_bills', ['label'] = 'Marked Bills', ['weight'] = 500, ['type'] = 'item', ['image'] = 'marked_bills.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'These bills have some marks on them'}, ['bands'] = {['name'] = 'bands', ['label'] = 'Band Of Notes', ['weight'] = 300, ['type'] = 'item', ['image'] = 'bands.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A set of one thousand dollar bills'}, ['rolls'] = {['name'] = 'rolls', ['label'] = 'Roll Of Small Notes', ['weight'] = 200, ['type'] = 'item', ['image'] = 'rolls.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Roll of money'},
Step 2: Item Images
If you are using ox_inventory, head over to ox_inventory/web/images and paste the images from qb-weedrun/images
If you are using qb-inventory or any other inventory that works the same as qb-inventory, head over to qb-inventory/html/images and paste the images from qb-weedrun/images
Step 3: Ensuring Dependencies
Make sure that qb-weedrun is ensured
Make sure qb-weedrun/config.lua/Config.ESX is set as false
Make sure ox_lib is ensured
Make sure that you have qb-target or ox_target ensured
Last updated