Installation Guide

Steps to Setup


Step 1: Install Dependencies

  • ox_lib: A library essential for the script's functionality.

    • Action: Download ox_lib and place ox_lib in the main qb folder.

    • Configuration: Add it to the server.cfg file and ensure it starts right after qb-core:

      start ox_lib

Step 2: Add Items to qb-core/shared/items.lua

  • Purpose: Define new items related to the meth run system.

  • Action: Copy the provided item definitions and paste them into qb-core/shared/items.lua.

    ["meth_keyint"]  			= {["name"] = "meth_keyint", 					["label"] = "Piece of Paper", 								["weight"] = 100, 		["type"] = "item", 			["image"] = "stickynote.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["meth_key"]  				= {["name"] = "meth_key", 						["label"] = "Key", 											["weight"] = 100, 		["type"] = "item", 			["image"] = "labkey.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["meth_baggies"]  			= {["name"] = "meth_baggies", 					["label"] = "Meth Baggies", 								["weight"] = 100, 		["type"] = "item", 			["image"] = "meth_baggies.png", 				["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["meth_empty_baggies"]  	= {["name"] = "meth_empty_baggies", 			["label"] = "Empty Baggies", 								["weight"] = 100, 		["type"] = "item", 			["image"] = "empty_meth_bag.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    --- Moon Meth Run Ingredients
    ["hydrochloric_acid"]  		= {["name"] = "hydrochloric_acid", 				["label"] = "Hydrochloric Acid", 							["weight"] = 100, 		["type"] = "item", 			["image"] = "hydrochloric_acid.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["sodium_hydroxide"]  		= {["name"] = "sodium_hydroxide", 				["label"] = "Sodium Hydroxide", 							["weight"] = 100, 		["type"] = "item", 			["image"] = "sodium_hydroxide.png", 			["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["sulfuric_acid"]  			= {["name"] = "sulfuric_acid", 					["label"] = "Sulfuric Acid", 								["weight"] = 100, 		["type"] = "item", 			["image"] = "sulphuric_acid.png", 				["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["ammonia"]  				= {["name"] = "ammonia", 						["label"] = "Anhydrous ammonia", 							["weight"] = 100, 		["type"] = "item", 			["image"] = "ammonia.png", 						["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["ephedrine"]  				= {["name"] = "ephedrine", 						["label"] = "Ephedrine", 									["weight"] = 100, 		["type"] = "item", 			["image"] = "ephedrine.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["toluene"]  				= {["name"] = "toluene", 						["label"] = "Toluene", 										["weight"] = 100, 		["type"] = "item", 			["image"] = "toluene.png", 						["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["pseudoephedrine"] 		= {["name"] = "pseudoephedrine", 				["label"] = "Pseudoephedrine", 								["weight"] = 100, 		["type"] = "item", 			["image"] = "pseudoephedrine.png", 				["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["lithium"]  				= {["name"] = "lithium", 						["label"] = "Lithium", 										["weight"] = 100, 		["type"] = "item", 			["image"] = "lithium.png", 						["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["phosphorous"]  			= {["name"] = "phosphorous", 					["label"] = "Phosphorus", 									["weight"] = 100, 		["type"] = "item", 			["image"] = "phosphorus.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    ["acetone"]  				= {["name"] = "acetone", 						["label"] = "Acetone", 										["weight"] = 100, 		["type"] = "item", 			["image"] = "acetone.png", 						["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = ""},
    --- Moon Meth Run Resultants
    ["chemical_barrel1"]  		= {["name"] = "chemical_barrel1", 				["label"] = "Meth Barrel 1", 								["weight"] = 100, 		["type"] = "item", 			["image"] = "barrel.png", 						["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Barrel of Acetone,Toluene,,ephedrine,hydrichloric_acid Solution"},
    ["chemical_barrel2"]  		= {["name"] = "chemical_barrel2", 				["label"] = "Meth Barrel 2", 								["weight"] = 100, 		["type"] = "item", 			["image"] = "barrel.png", 						["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Barrel of Lithium,Ammonia & Barrel 1 Chemicals Solution"},
    ["meth_liquid"]  			= {["name"] = "meth_liquid", 					["label"] = "Crystal Blue Liquid Container", 				["weight"] = 100, 		["type"] = "item", 			["image"] = "containerr.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Hot Crystal Blue Liquid"},
    ["empty_tray"]  			= {["name"] = "empty_tray", 					["label"] = "Empty High Grade Plastic Tray", 				["weight"] = 100, 		["type"] = "item", 			["image"] = "empty_tray.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Empty Tray"},
    ["full_tray"]  				= {["name"] = "full_tray", 						["label"] = "Meth Tray", 									["weight"] = 100, 		["type"] = "item", 			["image"] = "full_tray.png", 					["unique"] = false, 	["useable"] = true, 	["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Tray Full Of Crystal Meth"},

Step 3: Add Images to the Inventory

  • Location: Navigate to qb-inventory/html/images.

  • Action: Copy all images from the provided folder into this directory.

  • Ensure the file names in the items.lua file match the image file names (case-sensitive).


Step 4: Configuration

  • Adjust configurations as needed to match your server setup.


Thank You for Buying You guys are The Best 😄

Last updated