m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • 🚗[QB] TunerJob
        • đŸ› ī¸Installation
        • ❓Common Questions
        • đŸ—’ī¸Config
      • 🍞[QB] BeanMachine
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 🍔[QB] Burgershot
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 🍈[QB] CoolBeans
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 🚚[QB] Deliveries
        • đŸ› ī¸Installation
        • 📃Config
          • 📃config_functions
      • 🍎[QB] Farming
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 🐟[QB] Fishing
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • 📄config_diving
          • 📄config_fishingnet
          • 📄config_fishingrod
          • 📄config_functions
          • 📄config_language
          • 📄config_seashells
          • 📄config_tournament
          • 📄config_upgrades
      • 🚛[QB] Garbage
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸ—ī¸[QB] GoldRush
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • â›°ī¸[QB] Hunting
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸĒĩ[QB] Lumberjack
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • â›ī¸[QB] Mining
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸ›ĸī¸[QB] Oil Factory
        • đŸ› ī¸Installation
        • ❓Common Questions
        • đŸ—’ī¸Config
      • ☕[QB] Pond Coffee
        • đŸ› ī¸Installation
        • ❓Common Questions
        • đŸ—’ī¸Config
      • 🚚[QB] Trucker
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • 📄Functions
          • 📄Language
      • đŸĨƒ[QB] Vanilla
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸ›ģ[QB] Mechanic Run
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸĨƒ[QB] Bahamas
        • đŸ› ī¸Installation
        • 📄Config
      • đŸ”Ģ[QB] Ammunation
        • đŸ› ī¸Installation
        • 📄Config
      • 🐟[QB] Pearls
        • đŸ› ī¸Installation
        • 📄Config
      • 🔓[QB] Impound
        • đŸ› ī¸Installation
        • 📄Config
        • ✅Garages
      • 🚘[QB] Vehicleshop
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
          • Job
          • Language
        • ❓Common Questions
    • General
      • đŸ•ī¸[QB] Camping
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Consumables
          • Language
      • 🎄[QB] Christmas
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 🎃[QB] Halloween
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 📔[QB] Insurance
        • đŸ› ī¸Installation
        • đŸ–Ĩī¸Compatibilities
        • đŸ—’ī¸Config
        • 🔁Server-Exports
      • đŸ˜ī¸[QB] Vespucci
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • đŸ–ī¸[QB] Beach Activities
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 🚘[QB] Car Rental
        • đŸ› ī¸Installation
        • 📄Config
        • đŸ–Ĩī¸Compatibilities
      • âœˆī¸[QB] Sky Racing
        • đŸ› ī¸Installation
        • 📄Config
      • 🚘[QB] Car Wash
        • đŸ› ī¸Installation
        • 📄Config
      • đŸĒ¨[QB] Grinder
        • đŸ› ī¸Installation
        • 📄Config
      • 📹[QB] SpyCams & CCTV's
        • đŸ› ī¸Installation
        • 📄Config
      • 🏠[QB] Motel
        • đŸ› ī¸Installation
        • 📄Config
        • đŸ–Ĩī¸Compatibilities
      • đŸšī¸[QB] Job Center
        • 📄Config
      • đŸ› ī¸[QB] Crafting
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
          • Language
    • Illegal
      • đŸ”Ģ[QB] Gangs
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 🔔[QB] Drug Selling
        • đŸ—’ī¸Config
      • 🌱[QB] Drugs
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸ¯[QB] Craft Potion
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸ…ąī¸[QB] Blackmarket
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • config_functions
          • config_language
      • 🚗[QB] Car Thief
        • đŸ—’ī¸Config
      • 🏠[QB] House Robbery
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 💎[QB] Jewelry
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Functions
          • Language
      • ÂŽī¸[QB] Mini Robberys
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 💰[QB] MoneyWash
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Functions
          • Language
      • đŸ”Ģ[QB] Rob NPC
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸƒâ€â™‚ī¸[QB] Runs
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Functions
          • Language
      • â›Ŋ[QB] Steal Fuel
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Functions
          • Language
      • đŸŦ[QB] Store Robbery
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Functions
          • Language
      • đŸĒ›[QB] Scrapyard
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • Functions
          • Language
      • 👾[QB] Territories
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
      • 🏨[QB] GoPostal
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • 🚗[ESX] Tunerjob
        • ❗Dependencies
        • đŸ› ī¸Installation
          • â„šī¸OX-Inventory
          • â„šī¸QS-Inventory
        • đŸ—’ī¸Config
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • ❓Common Questions
      • 🚚[ESX] Trucker
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • 📄Functions
          • 📄Language
      • đŸĒĩ[ESX] Lumberjack
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸ›ģ[ESX] Mechanic Run
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • â›ī¸[ESX] Mining
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸŽŖ[ESX] Fishing
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • 🚘[ESX] Car Rental
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • 📃[ESX] Insurance
        • đŸ› ī¸Installation
        • đŸ–Ĩī¸Compatibilities
        • 📄Config
        • 🔁 Server-Exports
      • 🚘[ESX] Car Wash
        • đŸ› ī¸Installation
        • 📄Config
      • 📹[ESX] SpyCams & CCTV's
        • đŸ› ī¸Installation
        • 📄Config
        • 🏠[ESX] Motel
          • đŸ› ī¸Installation
          • 📄Config
          • đŸ–Ĩī¸Compatibilities
      • đŸ› ī¸[ESX] Crafting
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
          • Language
      • 🎄[ESX] Christmas
        • đŸ› ī¸Installation
        • 📄Configs
    • Illegal
      • đŸ”Ģ[ESX] Gangs
        • đŸ› ī¸Installation
        • 📄Config
        • ❓Common Questions
      • đŸ…ąī¸[ESX] Blackmarket
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
          • config_functions
          • config_language
      • 🏨[ESX] GoPostal
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • 🚗Car Rebuild
        • đŸ› ī¸Installation
        • đŸ—’ī¸Config
      • đŸ—ēī¸City Guide
        • đŸ› ī¸Installation
        • 📄Config
          • Functions
          • Language
      • 🛒Shops
        • 📄Config
        • đŸ› ī¸Installation
      • 🔁Reputation
        • 📄Config
        • đŸ› ī¸Installation
        • â‰ī¸Exports & Commands
          • Server Exports
          • Commands
      • 💤AFK System
        • 📄Configs
        • đŸ› ī¸Installation
      • 🚗Garages
        • đŸ› ī¸Installation
        • 📑User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
      • âœˆī¸Airplane Job
        • đŸ› ī¸Installation
        • 📃Configs
        • â„šī¸Exports
      • 📋Scoreboard
        • 📃Config
      • đŸ“ĻStorageUnits
        • đŸ› ī¸Installation
        • 📃Config
Powered by GitBook
On this page
  1. QBCore
  2. Illegal
  3. [QB] Jewelry

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},
}
PreviousInstallationNextFunctions

Last updated 1 year ago

💎
đŸ—’ī¸