[DESCRIPTION]
This is more of in depth qbcore drug script allowing you to cook and process crack using only certain items hidden, all objects qb-target interactive
Dependencies :
QBCore Framework - GitHub - qbcore-framework/qb-core: FiveM RP Framework Core 💪
qb-target - GitHub - qbcore-framework/qb-target: A better interaction system for FiveM (Only needed if not using draw text)
qb-input - GitHub - qbcore-framework/qb-input
qb-menu - GitHub - qbcore-framework/qb-menu: Menu System for the QBCore Framework
Install:
-
add six-crackhouse folder to your resources
-
copy and paste all items given into your [qbcore>shared>items] and place images into your [qb-inventory>html>images]
QBShared.Items
["boiled_water"] = {["name"] = "boiled_water", ["label"] = "Boiling Water", ["weight"] = 500, ["type"] = "item", ["image"] = "boiled_water.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "hot hot hot"},
["pyrex_jug"] = {["name"] = "pyrex_jug", ["label"] = "Pyrex Jug", ["weight"] = 500, ["type"] = "item", ["image"] = "pyrex_jug.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Jug for boiling hot water"},
["spoon"] = {["name"] = "spoon", ["label"] = "Clean Spoon", ["weight"] = 0, ["type"] = "item", ["image"] = "spoon.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Washed spoon."},
["dirty_spoon"] = {["name"] = "dirty_spoon", ["label"] = "Dirty Spoon", ["weight"] = 0, ["type"] = "item", ["image"] = "spoon.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Just a Dirty spoon."},
["cooking_pot"] = {["name"] = "cooking_pot", ["label"] = "Cooking Pot", ["weight"] = 500, ["type"] = "item", ["image"] = "cookingpot.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Pot for cooking up ingredients."},
["baking_soda"] = {["name"] = "baking_soda", ["label"] = "Baking Soda", ["weight"] = 200, ["type"] = "item", ["image"] = "baking_soda.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Baking Soda."},
["crack"] = {["name"] = "crack", ["label"] = "Crack Cocaine", ["weight"] = 200, ["type"] = "item", ["image"] = "crack.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Crack Cocaine"},
["coke_pooch"] = {["name"] = "coke_pooch", ["label"] = "Cocaine", ["weight"] = 200, ["type"] = "item", ["image"] = "cocaine_baggy.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Bag of cocaine"},
["crack_pooch"] = {["name"] = "crack_pooch", ["label"] = "Crack Baggy", ["weight"] = 200, ["type"] = "item", ["image"] = "crack_pooch.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Bag of crack"},
['empty_weed_bag'] = {['name'] = 'empty_weed_bag', ['label'] = 'Empty Weed Bag', ['weight'] = 0, ['type'] = 'item', ['image'] = 'weed_baggy_empty.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A small empty bag'},