Installation

Welcome to the Pluto Development's Drug Lab installation guide! This guide will walk you through the complete installation process to ensure a smooth and problem-free setup. By carefully following each step and completing the documentation, you’ll achieve a clean and seamless installation.

Asset download

To find the asset, you must have made the purchase using your own keymaster account. Otherwise, you can use the transfer system to move the asset to a different keymaster account.

Once the purchase is made on our official website, you will receive your asset directly in your Keymaster, in your own panel you can download the asset and install it following the following documentation.

If you have more problems regarding Fivem Escrow, accounts or asset startup errors you can go here and see if any of them match your case, since Escrow requires some basic things for its operation, such as your keymaster account, your licensekey , etc.

FiveM Asset Escrow System

Asset dependecies

This asset has some dependencies that are completely mandatory and important for the operation of the asset. If you do not have these dependencies, your asset will probably start and have some error or message in its command console.

Dependency
Link

progressbar

Included in the asset folder (you can use your own one)

pd_lib

Included in the asset folder

pd_bridge

Included in the asset folder

pd_interaction

Included in the asset folder

Starting order

-- first we need to start our framework cores (qb, esx, qbox...)
ensure qbcore or es_extended

start pd_lib
start pd_bridge
start pd_interaction
start pd_props
start pd_labs

Bridge configuration

In order for our script to adapt with your current scripts, you need specify which scripts you are using in the server.cfg

# pd_bridge settings
setr pd_bridge:language "en"
setr pd_bridge:framework ""
setr pd_bridge:inventory ""
setr pd_bridge:keys ""
setr pd_bridge:notification ""
setr pd_bridge:progressbar ""

To fill this settings with the correct names, check the following page.

Compatibility

Example:

# pd_bridge settings
setr pd_bridge:language "en"
setr pd_bridge:framework "qb-core"
setr pd_bridge:inventory "qs-inventory"
setr pd_bridge:keys "qb-vehiclekeys"
setr pd_bridge:notification "qb-core"
setr pd_bridge:progressbar "ox_lib"

Database

Your script data is automatically saved in pd_labs/files/data.json. SQL is not needed for saving the Labs data because we're using the JSON file. So, you don't need to do anything for this step.

Items

We provided images for added items in pd_labs/images. You can add those in your inventory image folder.

QBCore Framework
['drug_phone'] = {
        name = 'drug_phone',
        label = 'Drug phone',
        weight = 0,
        type = 'item',
        image = 'drug_phone.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['pseudoephedrine'] = {
        name = 'pseudoephedrine',
        label = 'Pseudoephedrine',
        weight = 0,
        type = 'item',
        image = 'pseudoephedrine.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['red_phosphorus'] = {
        name = 'red_phosphorus',
        label = 'Red Phosphorus',
        weight = 0,
        type = 'item',
        image = 'red_phosphorus.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['hydrochloric_acid'] = {
        name = 'hydrochloric_acid',
        label = 'Hydrochloric Acid',
        weight = 0,
        type = 'item',
        image = 'hydrochloric_acid.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['lithium'] = {
        name = 'lithium',
        label = 'Lithium',
        weight = 0,
        type = 'item',
        image = 'lithium.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['anhydrous_ammonia'] = {
        name = 'anhydrous_ammonia',
        label = 'Anhydrous Ammonia',
        weight = 0,
        type = 'item',
        image = 'anhydrous_ammonia.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['meth_oil'] = {
        name = 'meth_oil',
        label = 'Methamphetamine oil',
        weight = 0,
        type = 'item',
        image = 'meth_oil.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['methamphetamine_base'] = {
        name = 'methamphetamine_base',
        label = 'Methamphetamine base',
        weight = 0,
        type = 'item',
        image = 'methamphetamine_base.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['methamphetamine_hydrochloride'] = {
        name = 'methamphetamine_hydrochloride',
        label = 'Methamphetamine hydrochloride',
        weight = 0,
        type = 'item',
        image = 'methamphetamine_hydrochloride.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['methamphetamine_crystal'] = {
        name = 'methamphetamine_crystal',
        label = 'Methamphetamine Crystal',
        weight = 0,
        type = 'item',
        image = 'methamphetamine_crystal.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['microwave'] = {
        name = 'microwave',
        label = 'Microwave',
        weight = 0,
        type = 'item',
        image = 'microwave.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coca_leaves'] = {
        name = 'coca_leaves',
        label = 'Coca leaves',
        weight = 0,
        type = 'item',
        image = 'coca_leaves.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coke_filter'] = {
        name = 'coke_filter',
        label = 'Coke Filter',
        weight = 0,
        type = 'item',
        image = 'coke_filter.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coca_leaf_powder'] = {
        name = 'coca_leaf_powder',
        label = 'Coca leaf powder',
        weight = 0,
        type = 'item',
        image = 'coca_leaf_powder.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['water_lab_bottle'] = {
        name = 'water_lab_bottle',
        label = 'Big water bottle',
        weight = 0,
        type = 'item',
        image = 'water_lab_bottle.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coca_gaso_infused'] = {
        name = 'coca_gaso_infused',
        label = 'Cocaine-infused gasoline',
        weight = 0,
        type = 'item',
        image = 'coca_gaso_infused.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coca_infused_liquid'] = {
        name = 'coca_infused_liquid',
        label = 'Cocaine liquid',
        weight = 0,
        type = 'item',
        image = 'coca_infused_liquid.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coca_powder'] = {
        name = 'coca_powder',
        label = 'Cocaine powder',
        weight = 0,
        type = 'item',
        image = 'coca_powder.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coke_brick'] = {
        name = 'coke_brick',
        label = 'Cocaine brick',
        weight = 0,
        type = 'item',
        image = 'coke_brick.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['coke_baggy'] = {
        name = 'coke_baggy',
        label = 'Cocaine baggy',
        weight = 0,
        type = 'item',
        image = 'coke_baggy.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['meth_baggy'] = {  
        name = 'meth_baggy',
        label = 'Methamphetamine baggy',
        weight = 0,
        type = 'item',
        image = 'meth_baggy.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['unpackaged_meth'] = {
        name = 'unpackaged_meth',
        label = 'Unpackaged meth',
        weight = 0,
        type = 'item',
        image = 'unpackaged_meth.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['empty_pot'] = {
        name = 'empty_pot',
        label = 'Empty pot',
        weight = 0,
        type = 'item',
        image = 'empty_pot.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['dirt_bag'] = {
        name = 'dirt_bag',
        label = 'Dirt bag',
        weight = 0,
        type = 'item',
        image = 'dirt_bag.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['standing_fan'] = {
        name = 'standing_fan',
        label = 'Standing fan',
        weight = 0,
        type = 'item',
        image = 'standing_fan.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_spray_bottle'] = {
        name = 'weed_spray_bottle',
        label = 'Spray bottle',
        weight = 0,
        type = 'item',
        image = 'weed_spray_bottle.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_fertilizer'] = {
        name = 'weed_fertilizer',
        label = 'Weed fertilizer',
        weight = 0,
        type = 'item',
        image = 'weed_fertilizer.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_leaf_whitewidow'] = {
        name = 'weed_leaf_whitewidow',
        label = 'Weed leaf whitewidow',
        weight = 0,
        type = 'item',
        image = 'weed_leaf_whitewidow.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_leaf_skunk'] = {
        name = 'weed_leaf_skunk',
        label = 'Weed leaf skunk',
        weight = 0,
        type = 'item',
        image = 'weed_leaf_skunk.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_leaf_purplehaze'] = {
        name = 'weed_leaf_purplehaze',
        label = 'Weed leaf purplehaze',
        weight = 0,
        type = 'item',
        image = 'weed_leaf_purplehaze.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_leaf_ogkush'] = {
        name = 'weed_leaf_ogkush',
        label = 'Weed leaf ogkush',
        weight = 0,
        type = 'item',
        image = 'weed_leaf_ogkush.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_leaf_amnesia'] = {
        name = 'weed_leaf_amnesia',
        label = 'Weed leaf amnesia',
        weight = 0,
        type = 'item',
        image = 'weed_leaf_amnesia.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_dried_leaf_whitewidow'] = {
        name = 'weed_dried_leaf_whitewidow',
        label = 'Weed dried leaf whitewidow',
        weight = 0,
        type = 'item',
        image = 'weed_dried_leaf_whitewidow.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_dried_leaf_skunk'] = {
        name = 'weed_dried_leaf_skunk',
        label = 'Weed dried leaf skunk',
        weight = 0,
        type = 'item',
        image = 'weed_dried_leaf_skunk.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_dried_leaf_purplehaze'] = {
        name = 'weed_dried_leaf_purplehaze',
        label = 'Weed dried leaf purplehaze',
        weight = 0,
        type = 'item',
        image = 'weed_dried_leaf_purplehaze.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_dried_leaf_ogkush'] = {
        name = 'weed_dried_leaf_ogkush',
        label = 'Weed dried leaf ogkush',
        weight = 0,
        type = 'item',
        image = 'weed_dried_leaf_ogkush.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_dried_leaf_amnesia'] = {
        name = 'weed_dried_leaf_amnesia',
        label = 'Weed dried leaf amnesia',
        weight = 0,
        type = 'item',
        image = 'weed_dried_leaf_amnesia.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['small_fan'] = {
        name = 'small_fan',
        label = 'Small fan',
        weight = 0,
        type = 'item',
        image = 'small_fan.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_light'] = {
        name = 'weed_light',
        label = 'Weed light',
        weight = 0,
        type = 'item',
        image = 'weed_light.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_baggy'] = {
        name = 'weed_baggy',
        label = 'Weed baggy',
        weight = 0,
        type = 'item',
        image = 'weed_baggy.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['lab_coat'] = {
        name = 'lab_coat',
        label = 'Lab coat',
        weight = 0,
        type = 'item',
        image = 'lab_coat.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['hammer'] = {
        name = 'hammer',
        label = 'Hammer',
        weight = 0,
        type = 'item',
        image = 'hammer.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['empty_m_bag'] = {
        name = 'empty_m_bag',
        label = 'Empty meth bag',
        weight = 0,
        type = 'item',
        image = 'empty_m_bag.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_whitewidow_seed'] = {
        name = 'weed_whitewidow_seed',
        label = 'White Widow Seed',
        weight = 0,
        type = 'item',
        image = 'weed_whitewidow_seed.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_skunk_seed'] = {
        name = 'weed_skunk_seed',
        label = 'Skunk Seed',
        weight = 0,
        type = 'item',
        image = 'weed_skunk_seed.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_purplehaze_seed'] = {
        name = 'weed_purplehaze_seed',
        label = 'Purple Haze Seed',
        weight = 0,
        type = 'item',
        image = 'weed_purplehaze_seed.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_ogkush_seed'] = {
        name = 'weed_ogkush_seed',
        label = 'OG Kush Seed',
        weight = 0,
        type = 'item',
        image = 'weed_ogkush_seed.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    },
    ['weed_amnesia_seed'] = {
        name = 'weed_amnesia_seed',
        label = 'Amnesia Seed',
        weight = 0,
        type = 'item',
        image = 'weed_amnesia_seed.png',
        unique = false,
        useable = true,
        shouldClose = true,
        combinable = nil
    }
ESX Framework
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
	('drug_phone', 'Dokia Phone', 0, 0, 1),
	('pseudoephedrine', 'Pseudoephedrine', 0, 0, 1),
	('red_phosphorus', 'Red Phosphorus', 0, 0, 1),
	('hydrochloric_acid', 'Hydrochloric Acid', 0, 0, 1),
	('lithium', 'Lithium', 0, 0, 1),
	('anhydrous_ammonia', 'Anhydrous Ammonia', 0, 0, 1),
	('meth_oil', 'Methamphetamine oil', 0, 0, 1),
	('methamphetamine_base', 'Methamphetamine base', 0, 0, 1),
	('methamphetamine_hydrochloride', 'Methamphetamine hydrochloride', 0, 0, 1),
	('methamphetamine_crystal', 'Methamphetamine Crystal', 0, 0, 1),
	('microwave', 'Microwave', 0, 0, 1),
	('coca_leaves', 'Coca leaves', 0, 0, 1),
	('coke_filter', 'Coke Filter', 0, 0, 1),
	('coca_leaf_powder', 'Coca leaf powder', 0, 0, 1),
	('water_lab_bottle', 'Big water bottle', 0, 0, 1),
	('coca_gaso_infused', 'Cocaine-infused gasoline', 0, 0, 1),
	('coca_infused_liquid', 'Cocaine liquid', 0, 0, 1),
	('coca_powder', 'Cocaine powder', 0, 0, 1),
	('coke_brick', 'Cocaine brick', 0, 0, 1),
	('coke_baggy', 'Cocaine baggy', 0, 0, 1),
	('meth_baggy', 'Methamphetamine baggy', 0, 0, 1),
	('unpackaged_meth', 'Unpackaged methamphetamine', 0, 0, 1),
	('empty_pot', 'Empty pot', 0, 0, 1),
	('dirt_bag', 'Dirt bag', 0, 0, 1),
	('standing_fan', 'Standing fan', 0, 0, 1),
	('weed_spray_bottle', 'Spray bottle', 0, 0, 1),
	('weed_fertilizer', 'Weed fertilizer', 0, 0, 1),
	('weed_leaf_whitewidow', 'Weed leaf whitewidow', 0, 0, 1),
	('weed_leaf_skunk', 'Weed leaf skunk', 0, 0, 1),
	('weed_leaf_purplehaze', 'Weed leaf purplehaze', 0, 0, 1),
	('weed_leaf_og_kush', 'Weed leaf og kush', 0, 0, 1),
	('weed_leaf_amnesia', 'Weed leaf amnesia', 0, 0, 1),
	('weed_dried_leaf_whitewidow', 'Dried leaf whitewidow', 0, 0, 1),
	('weed_dried_leaf_skunk', 'Dried leaf skunk', 0, 0, 1),
	('weed_dried_leaf_purplehaze', 'Dried leaf purplehaze', 0, 0, 1),
	('weed_dried_leaf_og_kush', 'Dried leaf og kush', 0, 0, 1),
	('weed_dried_leaf_amnesia', 'Dried leaf amnesia', 0, 0, 1),
	('small_fan', 'Small fan', 0, 0, 1),
	('weed_light', 'Weed light', 0, 0, 1),
	('weed_baggy', 'Weed baggy', 0, 0, 1),
	('lab_coat', 'Lab coat', 0, 0, 1),
	('hammer', 'Hammer', 0, 0, 1),
	('empty_m_bag', 'Empty bag', 0, 0, 1),
	('weed_whitewidow_seed', 'Weed whitewidow seed', 0, 0, 1),
	('weed_skunk_seed', 'Weed skunk seed', 0, 0, 1),
	('weed_purplehaze_seed', 'Weed purplehaze seed', 0, 0, 1),
	('weed_ogkush_seed', 'Weed og kush seed', 0, 0, 1),
	('weed_amnesia_seed', 'Weed amnesia seed', 0, 0, 1);
OX Inventory
["drug_phone"] = {
	label = "Dokia Phone",
	weight = 0,
	stack = true,
	close = true,
},

["pseudoephedrine"] = {
	label = "Pseudoephedrine",
	weight = 0,
	stack = true,
	close = true,
},

["red_phosphorus"] = {
	label = "Red Phosphorus", 
	weight = 0,
	stack = true,
	close = true,
},

["hydrochloric_acid"] = {
	label = "Hydrochloric Acid",
	weight = 0,
	stack = true,
	close = true,
},

["lithium"] = {
	label = "Lithium",
	weight = 0,
	stack = true,
	close = true,
},

["anhydrous_ammonia"] = {
	label = "Anhydrous Ammonia",
	weight = 0,
	stack = true,
	close = true,
},

["meth_oil"] = {
	label = "Methamphetamine oil",
	weight = 0,
	stack = true,
	close = true,
},

["methamphetamine_base"] = {
	label = "Methamphetamine base",
	weight = 0,
	stack = true,
	close = true,
},

["methamphetamine_hydrochloride"] = {
	label = "Methamphetamine hydrochloride",
	weight = 0,
	stack = true,
	close = true,
},

["methamphetamine_crystal"] = {
	label = "Methamphetamine Crystal",
	weight = 0,
	stack = true,
	close = true,
},

["microwave"] = {
	label = "Microwave",
	weight = 0,
	stack = true,
	close = true,
},

["coca_leaves"] = {
	label = "Coca leaves",
	weight = 0,
	stack = true,
	close = true,
},

["coke_filter"] = {
	label = "Coke Filter",
	weight = 0,
	stack = true,
	close = true,
},

["coca_leaf_powder"] = {
	label = "Coca leaf powder",
	weight = 0,
	stack = true,
	close = true,
},

["water_lab_bottle"] = {
	label = "Big water bottle",
	weight = 0,
	stack = true,
	close = true,
},

["coca_gaso_infused"] = {
	label = "Cocaine-infused gasoline",
	weight = 0,
	stack = true,
	close = true,
},

["coca_infused_liquid"] = {
	label = "Cocaine liquid",
	weight = 0,
	stack = true,
	close = true,
},

["coca_powder"] = {
	label = "Cocaine powder",
	weight = 0,
	stack = true,
	close = true,
},

["coke_brick"] = {
	label = "Cocaine brick",
	weight = 0,
	stack = true,
	close = true,
},

["coke_baggy"] = {
	label = "Cocaine baggy",
	weight = 0,
	stack = true,
	close = true,
},

["meth_baggy"] = {
	label = "Methamphetamine baggy",
	weight = 0,
	stack = true,
	close = true,
},

["unpackaged_meth"] = {
	label = "Unpackaged meth",
	weight = 0,
	stack = true,
	close = true,
},

["empty_pot"] = {
	label = "Empty pot",
	weight = 0,
	stack = true,
	close = true,
},

["dirt_bag"] = {
	label = "Dirt bag",
	weight = 0,
	stack = true,
	close = true,
},

["standing_fan"] = {
	label = "Standing fan",
	weight = 0,
	stack = true,
	close = true,
},

["weed_spray_bottle"] = {
	label = "Spray bottle",
	weight = 0,
	stack = true,
	close = true,
},

["weed_fertilizer"] = {
	label = "Weed fertilizer",
	weight = 0,
	stack = true,
	close = true,
},

["weed_leaf_whitewidow"] = {
	label = "Weed leaf whitewidow",
	weight = 0,
	stack = true,
	close = true,
},

["weed_leaf_skunk"] = {
	label = "Weed leaf skunk",
	weight = 0,
	stack = true,
	close = true,
},

["weed_leaf_purplehaze"] = {
	label = "Weed leaf purplehaze",
	weight = 0,
	stack = true,
	close = true,
},

["weed_leaf_ogkush"] = {
	label = "Weed leaf ogkush",
	weight = 0,
	stack = true,
	close = true,
},

["weed_leaf_amnesia"] = {
	label = "Weed leaf amnesia",
	weight = 0,
	stack = true,
	close = true,
},

["weed_dried_leaf_whitewidow"] = {
	label = "Weed dried leaf whitewidow",
	weight = 0,
	stack = true,
	close = true,
},

["weed_dried_leaf_skunk"] = {
	label = "Weed dried leaf skunk",
	weight = 0,
	stack = true,
	close = true,
},

["weed_dried_leaf_purplehaze"] = {
	label = "Weed dried leaf purplehaze",
	weight = 0,
	stack = true,
	close = true,
},

["weed_dried_leaf_ogkush"] = {
	label = "Weed dried leaf ogkush",
	weight = 0,
	stack = true,
	close = true,
},

["weed_dried_leaf_amnesia"] = {
	label = "Weed dried leaf amnesia",
	weight = 0,
	stack = true,
	close = true,
},

["small_fan"] = {
	label = "Small fan",
	weight = 0,
	stack = true,
	close = true,
},

["weed_light"] = {
	label = "Weed light",
	weight = 0,
	stack = true,
	close = true,
},

["weed_baggy"] = {
	label = "Weed baggy",
	weight = 0,
	stack = true,
	close = true,
},

["lab_coat"] = {
	label = "Lab coat",
	weight = 0,
	stack = true,
	close = true,
},

["hammer"] = {
	label = "Hammer",
	weight = 0,
	stack = true,
	close = true,
},

["empty_m_bag"] = {
	label = "Empty meth bag",
	weight = 0,
	stack = true,
	close = true,
},

["weed_whitewidow_seed"] = {
	label = "White Widow Seed",
	weight = 0,
	stack = true,
	close = true,
},

["weed_skunk_seed"] = {
	label = "Skunk Seed",
	weight = 0,
	stack = true,
	close = true,
},

["weed_purplehaze_seed"] = {
	label = "Purple Haze Seed",
	weight = 0,
	stack = true,
	close = true,
},

["weed_ogkush_seed"] = {
	label = "OG Kush Seed",
	weight = 0,
	stack = true,
	close = true,
},

["weed_amnesia_seed"] = {
	label = "Amnesia Seed",
	weight = 0,
	stack = true,
	close = true,
},
Using a custom inventory?
  • If your inventory is using the same functionalities of the framework, it should still work properly.

  • If your inventory have a different way of adding items, you can add them manually using the items mentioned above.

Ox inventory

If you are using ox_inventory, go to init.lua file. Then go to line 108 and add the following line:

ignoreweapons[`WEAPON_FIREHOSE`] = true

Example:

...
else
    PlayerData = {}
    client = {
        autoreload = GetConvarInt('inventory:autoreload', 0) == 1,
        screenblur = GetConvarInt('inventory:screenblur', 1) == 1,
        keys = json.decode(GetConvar('inventory:keys', '')) or { 'F2', 'K', 'TAB' },
        enablekeys = json.decode(GetConvar('inventory:enablekeys', '[249]')),
        aimedfiring = GetConvarInt('inventory:aimedfiring', 0) == 1,
        giveplayerlist = GetConvarInt('inventory:giveplayerlist', 0) == 1,
        weaponanims = GetConvarInt('inventory:weaponanims', 1) == 1,
        itemnotify = GetConvarInt('inventory:itemnotify', 1) == 1,
        weaponnotify = GetConvarInt('inventory:weaponnotify', 1) == 1,
        imagepath = GetConvar('inventory:imagepath', 'nui://ox_inventory/web/images'),
        dropprops = GetConvarInt('inventory:dropprops', 0) == 1,
        dropmodel = joaat(GetConvar('inventory:dropmodel', 'prop_med_bag_01b')),
        weaponmismatch = GetConvarInt('inventory:weaponmismatch', 1) == 1,
        ignoreweapons = json.decode(GetConvar('inventory:ignoreweapons', '[]')),
        suppresspickups = GetConvarInt('inventory:suppresspickups', 1) == 1,
        disableweapons = GetConvarInt('inventory:disableweapons', 0) == 1,
    }

    local ignoreweapons = table.create(0, (client.ignoreweapons and #client.ignoreweapons or 0) + 3)

    for i = 1, #client.ignoreweapons do
        local weapon = client.ignoreweapons[i]
        ignoreweapons[tonumber(weapon) or joaat(weapon)] = true
    end

    ignoreweapons[`WEAPON_UNARMED`] = true
    ignoreweapons[`WEAPON_HANDCUFFS`] = true
    ignoreweapons[`WEAPON_GARBAGEBAG`] = true
    ignoreweapons[`OBJECT`] = true
    ignoreweapons[`WEAPON_HOSE`] = true
    ignoreweapons[`WEAPON_FIREHOSE`] = true -- ADDED LINE

    client.ignoreweapons = ignoreweapons
end
...

Last updated