Step 5
Install items
Add these items to the inventory, and also verify that they have the correct image.
qb-core\shared\items.lua
['flare_airdrop'] = {['name'] = 'flare_airdrop', ['label'] = 'Flare Airdrop', ['weight'] = 200, ['type'] = 'item', ['image'] = 'flare_airdrop.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'With this I can call a plane to get weapons? Find out in the next episode!'},
['cannabis'] = {['name'] = 'cannabis', ['label'] = 'Cannabis', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cannabis.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Hey brother, I think this is so natural...'},
['cocaine'] = {['name'] = 'cocaine', ['label'] = 'Cocaine', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cocaine.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'The powder of love, who would have thought it would be so addictive?'},
['meth'] = {['name'] = 'meth', ['label'] = 'Meth', ['weight'] = 10, ['type'] = 'item', ['image'] = 'meth.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Oh shit brother, thats hard, very hard.'},
For qb-core NEW VERSION ONLY
qb-core/shared/items.lua
flare_airdrop = {['name'] = 'flare_airdrop', ['label'] = 'Flare Airdrop', ['weight'] = 200, ['type'] = 'item', ['image'] = 'flare_airdrop.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'With this I can call a plane to get weapons? Find out in the next episode!'},
cannabis = {['name'] = 'cannabis', ['label'] = 'Cannabis', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cannabis.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Hey brother, I think this is so natural...'},
cocaine = {['name'] = 'cocaine', ['label'] = 'Cocaine', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cocaine.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'The powder of love, who would have thought it would be so addictive?'},
meth = {['name'] = 'meth', ['label'] = 'Meth', ['weight'] = 10, ['type'] = 'item', ['image'] = 'meth.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Oh shit brother, thats hard, very hard.'},
Last updated