Configuration

Config = {}

Config.NorthCoords = 3000				-- (position = "y" = 3000) 		EXAMPLE: x = 0.0, y = 3000.0, z = 0.0 -- use /coords in game to see your coords
Config.NotifyText = "default"           -- default / drawtext / new3d
Config.MethVehicle = "JOURNEY"			-- Standard meth vehicle


-- Choose from which hours players can start meth
Config.ClockHours = {
	from = 0,
	to = 23,
}

Config.Dispatch = "ps-dispatch"		-- ps-dispatch or cd_dispatch
Config.PoliceSettings = {
	setPoliceAlert = false,			-- Police will get alert if someone starts meth progress
	callChance = 50,				-- 50% Police Call Chance
}

-- Items need to be added to items.lua (qb-core) - Reward is what you get after successfully meth progress
Config.Items = {
	item1 = "acetone",
	item2 = "hydrochloricacid",
	item3 = "ephedrine",
	reward = "meth",

	--
	BuyAmount = 1,
	itemPrice1 = 25,
	itemPrice2 = 35,
	itemPrice3 = 40,
}

Config.ItemSeller = {
	Coords = vector3(-1235.54, -1192.08, 7.67),
	showMarker = true,
	drawMarker = { id=21, size={x=0.35, y=0.35, z=0.35}, color={r=50, g=200, b=160} },
}

-- Choose the amount of how much you get for per meth pack
-- You can configure the seller to your likeness :)
Config.SellLocation = vector3(1774.39, -1617.72, 112.62)	                -- Sell Location / can be be changed
Config.SellItem = {
    ["meth"],
    PerPacked = math.random(290,300)
}

-- Choose how much item is needed to start meth -- Reward (amount) is how much you get after successfully meth progress
Config.ItemAmount = {
	item1 = 8,
	item2 = 4,
	item3 = 1,
	reward = math.random(-4, 5),		-- depends on how many correct answers the player had
	reward_divided = 3,					-- quality / 2 + reward = AMOUNT
}

Config.Lang = {
	["keypressed"] = "Press ~INPUT_MULTIPLAYER_INFO~ to start Meth",
	["meth_started"] = "Meth proceeding started",
	["no_items"] = "You have not enough stuffs to start",
	["full_car"] = "Vehicle is full..",
	["too_early"] = "Its too early..",
	["too_close"] = "You are so close to the city, head north to start meth production",
	["progress_started"] = "You started to progress Meth",
	["progress_stopped"] = "Progress stopped",

	-- Item seller
	["buyer_meth"] = "~g~[E]~s~ Meth Products",
	["buyer_default"] = "~INPUT_CONTEXT~ Buy Meth Products",
	["methshop_header"] = "Meth Products",
	["acessories_header"] = "Buy Meth Products",
	["back_menu"] = "Go Back",
	["buy_ephedrine_menu"] = "Ephedrine",
	["buy_hydro_menu"] = "Hydrochloric Acid",
	["buy_acetone_menu"] = "Acetone",
	["menu_price"] = "Price",

	-- Buyer
	["sellpacked_meth"] = "~g~[E]~s~ Talk to Meth Dealer",
	["sellpacked_default"] = "~INPUT_CONTEXT~ Talk to Meth Dealer",
	["warning_items"] = "Incorrect Amount!",
	["SellHeader"] = "SELLER",
	["seller_Input"] = "Sell Meth",
	["number_Input"] = "Quantity",
	["warning_meth"] = "Packaged Meth Required",
}

Last updated