Installation guide
Welcome to the Brutal Drugs installation guide, here you can learn how to completely install our asset.
If you don't have any experience in development we are highly recommend to follow each step in this documentation, and if you have a developer ask them to install the script for you as they have more experience.
Asset download
Once the purchase is made on our official website, you will receive your asset directly in your Keymaster, in the Granted Assets panel you will see the asset, download it and do the following steps to install it correctly.
Put the script folder to your server.
Start the script in the server.cfg. (ensure brutal_drugs)
Restart your server! (And you get permission to use the script)
Upload the SQL
Do not rename your previous SQL or columns to adapt them to this system, use the complete database without making use of edits in your old databases.
CREATE TABLE IF NOT EXISTS `brutal_drugs` (
`type` text DEFAULT NULL,
`placed_objects` longtext DEFAULT NULL,
UNIQUE KEY `Index 1` (`type`(100))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
ALTER TABLE `users`
ADD COLUMN `drug_shops` text NULL DEFAULT NULL,
ADD COLUMN `drug_sell_points` INT NOT NULL DEFAULT 0,
ADD COLUMN `drug_bigsale` INT NOT NULL DEFAULT 1;
CREATE TABLE IF NOT EXISTS `brutal_drugs` (
`type` text DEFAULT NULL,
`placed_objects` longtext DEFAULT NULL,
UNIQUE KEY `Index 1` (`type`(100))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
ALTER TABLE `players`
ADD COLUMN `drug_shops` text NULL DEFAULT NULL,
ADD COLUMN `drug_sell_points` INT NOT NULL DEFAULT 0,
ADD COLUMN `drug_bigsale` INT NOT NULL DEFAULT 1;
Upload the items
If you don't have the items integrated correctly, you will receive random errors.
Check that you don't have duplicate items in your inventory or database before integrating them, otherwise you might have some errors.
This asset depends on certain items for its operation, so don't forget to integrate all items correctly into your database or inventory system, depending on how you use your server.
If your inventory is not among the following, you can create the file yourself using the examples of each item by displaying any of the following tabs.
Items for esx_inventory
INSERT IGNORE INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('pot', 'Pot', 1, 0, 1),
('potting_soil', 'Potting Soil', 1, 0, 1),
('drug_lamp', 'Lamp', 1, 0, 1),
('drug_table', 'Table', 1, 0, 1),
('drying_rack', 'Drying Rack', 1, 0, 1),
('drug_oven', 'Oven', 1, 0, 1),
('fertilizer', 'Fertilizer', 1, 0, 1),
('weed_seed', 'Weed Seed', 1, 0, 1),
('wet_weed', 'Wet Weed', 1, 0, 1),
('coca_seed', 'Coca Seed', 1, 0, 1),
('coca_leaf', 'Coca Leaf', 1, 0, 1),
('dried_coca_leaf', 'Dried Coca Leaf', 1, 0, 1),
('dried_weed', 'Dried Wet Weed', 1, 0, 1),
('baggie', 'Baggie', 1, 0, 1),
('packaged_weed', 'Packaged Weed', 1, 0, 1),
('acetone', 'Acetone', 1, 0, 1),
('cooking_pot', 'Cooking Pot', 1, 0, 1),
('cocaine', 'Cocaine', 1, 0, 1),
('plastic_wrap', 'Plastic Wrap', 1, 0, 1),
('cocaine_press', 'Cocaine Press', 1, 0, 1),
('cocaine_brick', 'Cocaine Brick', 1, 0, 1),
('ephedrine', 'Ephedrine', 1, 0, 1),
('sodium', 'Sodium', 1, 0, 1),
('lithium', 'Lithium', 1, 0, 1),
('hydrochloric_acid', 'Hydrochloric Acid', 1, 0, 1),
('bunsen_burner', 'Bunsen Burner', 1, 0, 1),
('uncooked_meth', 'Uncooked Meth', 1, 0, 1),
('hammer', 'Hammer', 1, 0, 1),
('meth_pure', 'Meth Pure', 1, 0, 1),
('meth', 'Meth', 1, 0, 1),
('lsd', 'LSD', 1, 0, 1),
('heroin', 'Heroin', 1, 0, 1),
('joint', 'Joint', 1, 0, 1),
('rolling_paper', 'Rolling Paper', 1, 0, 1);
Items for qb-inventory
['pot'] = {['name'] = 'pot', ['label'] = 'Pot', ['weight'] = 1, ['type'] = 'item', ['image'] = 'pot.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['potting_soil'] = {['name'] = 'potting_soil', ['label'] = 'Potting Soil', ['weight'] = 1, ['type'] = 'item', ['image'] = 'potting_soil.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['drug_lamp'] = {['name'] = 'drug_lamp', ['label'] = 'Lamp', ['weight'] = 1, ['type'] = 'item', ['image'] = 'drug_lamp.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['drug_table'] = {['name'] = 'drug_table', ['label'] = 'Table', ['weight'] = 1, ['type'] = 'item', ['image'] = 'drug_table.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['drying_rack'] = {['name'] = 'drying_rack', ['label'] = 'Drying Rack', ['weight'] = 1, ['type'] = 'item', ['image'] = 'drying_rack.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['drug_oven'] = {['name'] = 'drug_oven', ['label'] = 'Oven', ['weight'] = 1, ['type'] = 'item', ['image'] = 'drug_oven.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['fertilizer'] = {['name'] = 'fertilizer', ['label'] = 'Fertilizer', ['weight'] = 1, ['type'] = 'item', ['image'] = 'fertilizer.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['weed_seed'] = {['name'] = 'weed_seed', ['label'] = 'Weed Seed', ['weight'] = 1, ['type'] = 'item', ['image'] = 'weed_seed.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['wet_weed'] = {['name'] = 'wet_weed', ['label'] = 'Wet Weed', ['weight'] = 1, ['type'] = 'item', ['image'] = 'wet_weed.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['coca_seed'] = {['name'] = 'coca_seed', ['label'] = 'Coca Seed', ['weight'] = 1, ['type'] = 'item', ['image'] = 'coca_seed.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['coca_leaf'] = {['name'] = 'coca_leaf', ['label'] = 'Coca Leaf', ['weight'] = 1, ['type'] = 'item', ['image'] = 'coca_leaf.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['dried_coca_leaf'] = {['name'] = 'dried_coca_leaf', ['label'] = 'Dried Coca Leaf', ['weight'] = 1, ['type'] = 'item', ['image'] = 'dried_coca_leaf.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['dried_weed'] = {['name'] = 'dried_weed', ['label'] = 'Dried Wet Weed', ['weight'] = 1, ['type'] = 'item', ['image'] = 'dried_weed.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['baggie'] = {['name'] = 'baggie', ['label'] = 'Baggie', ['weight'] = 1, ['type'] = 'item', ['image'] = 'baggie.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['packaged_weed'] = {['name'] = 'packaged_weed', ['label'] = 'Packaged Weed', ['weight'] = 1, ['type'] = 'item', ['image'] = 'packaged_weed.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['acetone'] = {['name'] = 'acetone', ['label'] = 'Acetone', ['weight'] = 1, ['type'] = 'item', ['image'] = 'acetone.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['cooking_pot'] = {['name'] = 'cooking_pot', ['label'] = 'Cooking Pot', ['weight'] = 1, ['type'] = 'item', ['image'] = 'cooking_pot.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['cocaine'] = {['name'] = 'cocaine', ['label'] = 'Cocaine', ['weight'] = 1, ['type'] = 'item', ['image'] = 'cocaine.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['plastic_wrap'] = {['name'] = 'plastic_wrap', ['label'] = 'Plastic Wrap', ['weight'] = 1, ['type'] = 'item', ['image'] = 'plastic_wrap.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['cocaine_press'] = {['name'] = 'cocaine_press', ['label'] = 'Cocaine Press', ['weight'] = 1, ['type'] = 'item', ['image'] = 'cocaine_press.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['cocaine_brick'] = {['name'] = 'cocaine_brick', ['label'] = 'Cocaine Brick', ['weight'] = 1, ['type'] = 'item', ['image'] = 'cocaine_brick.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['ephedrine'] = {['name'] = 'ephedrine', ['label'] = 'Ephedrine', ['weight'] = 1, ['type'] = 'item', ['image'] = 'ephedrine.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['sodium'] = {['name'] = 'sodium', ['label'] = 'Sodium', ['weight'] = 1, ['type'] = 'item', ['image'] = 'sodium.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['lithium'] = {['name'] = 'lithium', ['label'] = 'Lithium', ['weight'] = 1, ['type'] = 'item', ['image'] = 'lithium.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['hydrochloric_acid'] = {['name'] = 'hydrochloric_acid', ['label'] = 'Hydrochloric Acid', ['weight'] = 1, ['type'] = 'item', ['image'] = 'hydrochloric_acid.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['bunsen_burner'] = {['name'] = 'bunsen_burner', ['label'] = 'Bunsen Burner', ['weight'] = 1, ['type'] = 'item', ['image'] = 'bunsen_burner.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['uncooked_meth'] = {['name'] = 'uncooked_meth', ['label'] = 'Uncooked Meth', ['weight'] = 1, ['type'] = 'item', ['image'] = 'uncooked_meth.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['hammer'] = {['name'] = 'hammer', ['label'] = 'Hammer', ['weight'] = 1, ['type'] = 'item', ['image'] = 'hammer.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['meth_pure'] = {['name'] = 'meth_pure', ['label'] = 'Meth Pure', ['weight'] = 1, ['type'] = 'item', ['image'] = 'meth_pure.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['meth'] = {['name'] = 'meth', ['label'] = 'Meth', ['weight'] = 1, ['type'] = 'item', ['image'] = 'meth.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['lsd'] = {['name'] = 'lsd', ['label'] = 'LSD', ['weight'] = 1, ['type'] = 'item', ['image'] = 'lsd.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['heroin'] = {['name'] = 'heroin', ['label'] = 'Heroin', ['weight'] = 1, ['type'] = 'item', ['image'] = 'heroin.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['joint'] = {['name'] = 'joint', ['label'] = 'Joint', ['weight'] = 1, ['type'] = 'item', ['image'] = 'joint.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
['rolling_paper'] = {['name'] = 'rolling_paper', ['label'] = 'Rolling Paper', ['weight'] = 1, ['type'] = 'item', ['image'] = 'rolling_paper.png', ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = ''},
Items for qs-inventory
["pot"] = {
["name"] = "pot",
["label"] = "Pot",
["weight"] = 10,
["type"] = "item",
["image"] = "pot.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["potting_soil"] = {
["name"] = "potting_soil",
["label"] = "Potting Soil",
["weight"] = 10,
["type"] = "item",
["image"] = "potting_soil.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["drug_lamp"] = {
["name"] = "drug_lamp",
["label"] = "Lamp",
["weight"] = 10,
["type"] = "item",
["image"] = "drug_lamp.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["drug_table"] = {
["name"] = "drug_table",
["label"] = "Table",
["weight"] = 10,
["type"] = "item",
["image"] = "drug_table.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["drying_rack"] = {
["name"] = "drying_rack",
["label"] = "Drying Rack",
["weight"] = 10,
["type"] = "item",
["image"] = "drying_rack.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["drug_oven"] = {
["name"] = "drug_oven",
["label"] = "Oven",
["weight"] = 10,
["type"] = "item",
["image"] = "drug_oven.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["fertilizer"] = {
["name"] = "fertilizer",
["label"] = "Fertilizer",
["weight"] = 10,
["type"] = "item",
["image"] = "fertilizer.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["weed_seed"] = {
["name"] = "weed_seed",
["label"] = "Weed Seed",
["weight"] = 10,
["type"] = "item",
["image"] = "weed_seed.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["wet_weed"] = {
["name"] = "wet_weed",
["label"] = "Wet Weed",
["weight"] = 10,
["type"] = "item",
["image"] = "wet_weed.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["coca_seed"] = {
["name"] = "coca_seed",
["label"] = "Coca Seed",
["weight"] = 10,
["type"] = "item",
["image"] = "coca_seed.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["coca_leaf"] = {
["name"] = "coca_leaf",
["label"] = "Coca Leaf",
["weight"] = 10,
["type"] = "item",
["image"] = "coca_leaf.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["dried_coca_leaf"] = {
["name"] = "dried_coca_leaf",
["label"] = "Dried Coca Leaf",
["weight"] = 10,
["type"] = "item",
["image"] = "dried_coca_leaf.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["dried_weed"] = {
["name"] = "dried_weed",
["label"] = "Dried Wet Weed",
["weight"] = 10,
["type"] = "item",
["image"] = "dried_weed.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["baggie"] = {
["name"] = "baggie",
["label"] = "Baggie",
["weight"] = 10,
["type"] = "item",
["image"] = "baggie.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["packaged_weed"] = {
["name"] = "packaged_weed",
["label"] = "Packaged Weed",
["weight"] = 10,
["type"] = "item",
["image"] = "packaged_weed.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["acetone"] = {
["name"] = "acetone",
["label"] = "Acetone",
["weight"] = 10,
["type"] = "item",
["image"] = "acetone.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["cooking_pot"] = {
["name"] = "cooking_pot",
["label"] = "Cooking Pot",
["weight"] = 10,
["type"] = "item",
["image"] = "cooking_pot.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["cocaine"] = {
["name"] = "cocaine",
["label"] = "Cocaine",
["weight"] = 10,
["type"] = "item",
["image"] = "cocaine.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["plastic_wrap"] = {
["name"] = "plastic_wrap",
["label"] = "Plastic Wrap",
["weight"] = 10,
["type"] = "item",
["image"] = "plastic_wrap.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["cocaine_press"] = {
["name"] = "cocaine_press",
["label"] = "Cocaine Press",
["weight"] = 10,
["type"] = "item",
["image"] = "cocaine_press.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["cocaine_brick"] = {
["name"] = "cocaine_brick",
["label"] = "Cocaine Brick",
["weight"] = 10,
["type"] = "item",
["image"] = "cocaine_brick.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["ephedrine"] = {
["name"] = "ephedrine",
["label"] = "Ephedrine",
["weight"] = 10,
["type"] = "item",
["image"] = "ephedrine.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["sodium"] = {
["name"] = "sodium",
["label"] = "Sodium",
["weight"] = 10,
["type"] = "item",
["image"] = "sodium.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["lithium"] = {
["name"] = "lithium",
["label"] = "Lithium",
["weight"] = 10,
["type"] = "item",
["image"] = "lithium.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["hydrochloric_acid"] = {
["name"] = "hydrochloric_acid",
["label"] = "Hydrochloric Acid",
["weight"] = 10,
["type"] = "item",
["image"] = "hydrochloric_acid.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["bunsen_burner"] = {
["name"] = "bunsen_burner",
["label"] = "Bunsen Burner",
["weight"] = 10,
["type"] = "item",
["image"] = "bunsen_burner.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["uncooked_meth"] = {
["name"] = "uncooked_meth",
["label"] = "Uncooked Meth",
["weight"] = 10,
["type"] = "item",
["image"] = "uncooked_meth.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["hammer"] = {
["name"] = "hammer",
["label"] = "Hammer",
["weight"] = 10,
["type"] = "item",
["image"] = "hammer.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["meth_pure"] = {
["name"] = "meth_pure",
["label"] = "Meth Pure",
["weight"] = 10,
["type"] = "item",
["image"] = "meth_pure.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["meth"] = {
["name"] = "meth",
["label"] = "Meth",
["weight"] = 10,
["type"] = "item",
["image"] = "meth.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["lsd"] = {
["name"] = "lsd",
["label"] = "LSD",
["weight"] = 10,
["type"] = "item",
["image"] = "lsd.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["heroin"] = {
["name"] = "heroin",
["label"] = "Heroin",
["weight"] = 10,
["type"] = "item",
["image"] = "heroin.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["joint"] = {
["name"] = "joint",
["label"] = "Joint",
["weight"] = 10,
["type"] = "item",
["image"] = "joint.png",
["unique"] = false,
["useable"] = true,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
["rolling_paper"] = {
["name"] = "rolling_paper",
["label"] = "Rolling Paper",
["weight"] = 10,
["type"] = "item",
["image"] = "rolling_paper.png",
["unique"] = false,
["useable"] = false,
["shouldClose"] = true,
["combinable"] = nil,
["description"] = "Not have"
},
Items for ox-inventory
["pot"] = {
label = "Pot",
weight = 10,
stack = true,
close = false,
},
["potting_soil"] = {
label = "Potting Soil",
weight = 10,
stack = true,
close = false,
},
["drug_lamp"] = {
label = "Lamp",
weight = 10,
stack = true,
close = false,
},
["drug_table"] = {
label = "Table",
weight = 10,
stack = true,
close = false,
},
["drying_rack"] = {
label = "Drying Rack",
weight = 10,
stack = true,
close = false,
},
["drug_oven"] = {
label = "Oven",
weight = 10,
stack = true,
close = false,
},
["fertilizer"] = {
label = "Fertilizer",
weight = 10,
stack = true,
close = false,
},
["weed_seed"] = {
label = "Weed Seed",
weight = 10,
stack = true,
close = false,
},
["wet_weed"] = {
label = "Wet Weed",
weight = 10,
stack = true,
close = false,
},
["coca_seed"] = {
label = "Coca Seed",
weight = 10,
stack = true,
close = false,
},
["coca_leaf"] = {
label = "Coca Leaf",
weight = 10,
stack = true,
close = false,
},
["dried_coca_leaf"] = {
label = "Dried Coca Leaf",
weight = 10,
stack = true,
close = false,
},
["dried_weed"] = {
label = "Dried Wet Weed",
weight = 10,
stack = true,
close = false,
},
["baggie"] = {
label = "Baggie",
weight = 10,
stack = true,
close = false,
},
["packaged_weed"] = {
label = "Packaged Weed",
weight = 10,
stack = true,
close = false,
},
["acetone"] = {
label = "Acetone",
weight = 10,
stack = true,
close = false,
},
["cooking_pot"] = {
label = "Cooking Pot",
weight = 10,
stack = true,
close = false,
},
["cocaine"] = {
label = "Cocaine",
weight = 10,
stack = true,
close = false,
},
["plastic_wrap"] = {
label = "Plastic Wrap",
weight = 10,
stack = true,
close = false,
},
["cocaine_press"] = {
label = "Cocaine Press",
weight = 10,
stack = true,
close = false,
},
["cocaine_brick"] = {
label = "Cocaine Brick",
weight = 10,
stack = true,
close = false,
},
["ephedrine"] = {
label = "Ephedrine",
weight = 10,
stack = true,
close = false,
},
["sodium"] = {
label = "Sodium",
weight = 10,
stack = true,
close = false,
},
["lithium"] = {
label = "Lithium",
weight = 10,
stack = true,
close = false,
},
["hydrochloric_acid"] = {
label = "Hydrochloric Acid",
weight = 10,
stack = true,
close = false,
},
["bunsen_burner"] = {
label = "Bunsen Burner",
weight = 10,
stack = true,
close = false,
},
["uncooked_meth"] = {
label = "Uncooked Meth",
weight = 10,
stack = true,
close = false,
},
["hammer"] = {
label = "Hammer",
weight = 10,
stack = true,
close = false,
},
["meth_pure"] = {
label = "Meth Pure",
weight = 10,
stack = true,
close = false,
},
["meth"] = {
label = "Meth",
weight = 10,
stack = true,
close = false,
},
["lsd"] = {
label = "LSD",
weight = 10,
stack = true,
close = false,
},
["heroin"] = {
label = "Heroin",
weight = 10,
stack = true,
close = false,
},
["joint"] = {
label = "Joint",
weight = 10,
stack = true,
close = false,
},
["rolling_paper"] = {
label = "Rolling Paper",
weight = 10,
stack = true,
close = false,
},
Item Pictures
Asset positioning
Correctly position the assets in the server.cfg by following this step, if something goes wrong you will probably get errors about exports not found, do not skip this step!
-- First we will start the cores, never below
ensure es_extended or qb-core
-- The Notify / TextUI or target system / Progressbar / Inventory / Billing have to be above our asset
ensure [notify]
ensure [inventory]
ensure [billing]
ensure [textui] -- or target system
-- Start the Brutal Drugs at the end
ensure brutal_drugs
Setting the loaded event
If you are using a multicharacter system then this step is really important to make our script working propetly! If you don't use any or the loaded event is the same as the basic core one then you are done with this step.
In the client-core.lua file go to the LoadedEvent variable and if you are using a different event then paste there your event which is used on your server.

Checking the Config file
Please make sure that you go through the whole file during the installation and check everything. It is one of the most important things as if you miss this step the script might won't work propetly.
Most important steps
The most important things always at the top of the config so pay the most attencion to these elements.
Setting the Core
Set your server's core wether it's using es_extended or qb-core, other cores aren't supported .
Setting the Notify
If you are using the Brutal Notify then it is good news, you don't have to do anything. If you aren't then set the BrutalNotify value to false in the config and set up your own notify in the cl-utils.lua
Setting the TextUI or Target
Set the TextUI from the options which are commented out. If your server using an other TextUI it is not a problem, you can set it up in the cl-utils.lua. If you want to use a target system then set the TextUI to false and set your target.
If you got any error
If you followed the installational guide and the script still don't work or you get any errors the please check the common errors, here in the docs and in our discord server, for more informations.
Last updated
Was this helpful?