🗒ī¸Config

Config = {}

----- Utility
Config.CoreName = "qb-core" -- Your qb-core folder name
Config.Target = "qb-target" -- Your qb-target folder name
Config.Cooldown = 45 -- 45 Minutes
Config.Mask = false -- If it's true, they can only start the assault in a mask.
Config.Fingerprint = true -- If true, there will be a chance to leave a fingerprint
Config.ChanceFingerprint = 50 -- Random at 1~100 if < 80 then create fingerprint
Config.TriggerFingerprint = "evidence:server:CreateFingerDrop" -- Trigger to create fingerprint
Config.CallCops = true -- Enable call cops?
Config.Chance = 100 -- Chance to call cops
Config.SmokeBomb = "thermite" -- Item to insert the smoke

Config.CopsNeeded = 1 -- Cops needed to start
Config.PoliceJobs = {-- Name of job police
	"police",
	"lspd",
}

Config.Keys = {
	Item = "jewelry_keys", -- Item of the jewelery keys
	Chance = 100, -- 10% Chance get the keys on the guards
}

Config.Ped = {
    [1] = { type = 4, hash = GetHashKey("a_m_m_og_boss_01"), loc = vector4(706.2, -966.51, 29.41, 338.41)},
}

-- The script has an anti-exploit detection, basically the script detects the distance of the player from the sales place. 
-- This value 20 is, if the player is more than 20 , and sells items, and rewards, he will be banned on the server because he is using some cheat.
Config.ExploitEnable = true
Config.ExploitDistance = 20 
Config.Webhook = "mJewelryHeist" -- You need to go to qb-smallresources/server/logs.lua and create a new one with the name you put here.

-- Mini game, this options will be available to put the smoke on rooftop and to open the safe inside the jewelery
Config.PSUI = {
	NumberOfCircles = 2,
	MS = 20,
}


-- Here are the rewards, you can add more items, 
-- whatever you want and then below you can add as little and as much as possible to get out.
Config.Rewards = {
	Drops = {
		'goldchain', 
		'diamond_ring', 
		'rolex',
	},
	Amount = {
		Min = 1, -- Min amount
		Max = 10, -- Max amount
	}
}

Config.Blip = {
	Enable = true,
	Location = vector3(-627.59, -234.36, 37.64),
	Sprite = 266,
	Display = 2,
	Scale = 0.8,
	Colour = 14,
	Name = "Jewelry Store",
}

----- Locations
Config.Jewelry = vector3(-627.59, -234.36, 37.64) -- This is for spawn guardas
Config.TeleportEnter = vector3(1173.76, -3196.61, -39.01)
Config.TeleportExit = vector3(-620.76, -224.64, 37.066)
Config.Locations = {
	SellItems = vector3(707.30, -967.64, 30.37),	-- Location to sell items
	Enter = vector3(-621.34, -224.01, 38.06), -- Target to enter on warehouse
	Exit = vector3(1174.45, -3196.63, -39.01), -- Target to exit the warehouse
	Safe = vector3(1164.13, -3191.56, -39.01), -- Location of safe to steal
}

Config.Objects = { -- Safe
    { ["x"] = 1164.89, ["y"] = -3191.56, ["z"] = -39.01, ["h"] = 269.71, ["model"] = "p_v_43_safe_s" },
}

------------------
----- Safe
------------------
Config.SafeSettings = {
	NeedItem = true, -- Need item to open the safe?
	Item = "lockpick", -- Item needed to open the safe
	ItemBlackMoney = "markedbills", -- Item of your blackmoney
	MinValue = 2500, -- Min value each bag of blackmoney
	MaxValue = 5000, -- Max value each bag of blackmoney
	MinBags = 2, -- Min quantity of bags
	MaxBags = 5, -- Max quantity of bags
}

------------------
----- Selling
------------------
Config.Selling = {
	Type = "blackmoney", -- "cash" | "bank" | "blackmoney"
	ItemBlackMoney = "markedbills", -- Item of your blackmoney
	BlackMoneyValues = {
		MinValue = 2500,
		MaxValue = 5000,
		MinBags = 2,
		MaxBags = 5,
	},
	SellPrice = { -- This values if or each item
		['goldchain'] = 500,
		['diamond_ring'] = 1000,
		['rolex'] = 1500
	},
}

------------------
----- Guards
-- Here are the guard positions, you can add more guards by copying the code below.
Config.Guards = {
	{ Position = vector4(-630.61, -240.25, 37.14, 121.90), 	Weapon = 'WEAPON_APPISTOL' },
	{ Position = vector4(-633.40, -235.65, 37.00, 132.19),  Weapon = 'WEAPON_APPISTOL' },
	{ Position = vector4(-623.42, -236.95, 37.06, 38.21),  	Weapon = 'WEAPON_APPISTOL' },
	{ Position = vector4(-620.76, -224.64, 37.06, 216.75),  Weapon = 'WEAPON_APPISTOL' },
	-- You add more guards
}

------------------
----- Showcases
-- Here are the locations where the player will break the showcase and obtain items.
Config.Showcases = {
	{Position = vector3(-626.84, -235.35, 38.06), Stealable = true},
	{Position = vector3(-625.71, -234.54, 38.06), Stealable = true},
	{Position = vector3(-626.74, -233.04, 38.06), Stealable = true},
	{Position = vector3(-628.05, -233.97, 38.06), Stealable = true},
	{Position = vector3(-625.4, -237.64, 38.06), Stealable = true},
	{Position = vector3(-626.86, -238.7, 38.06), Stealable = true},
	{Position = vector3(-622.96, -233.24, 38.06), Stealable = true},
	{Position = vector3(-624.56, -230.92, 38.06), Stealable = true},
	{Position = vector3(-624.02, -228.16, 38.06), Stealable = true},
	{Position = vector3(-621.09, -228.56, 38.06), Stealable = true},
	{Position = vector3(-619.63, -230.5, 38.06), Stealable = true},
	{Position = vector3(-620.11, -233.38, 38.06), Stealable = true},
}

Last updated