đConfig
Config = {}
Config.Framework = "qbcore" -- "qbcore" or "esx"
Config.Core = "qb-core" -- "qb-core" or "es_extended"
Config.Notify = "qb" -- "qb" or "ox"
Config.Inventory = "qb" -- "qb" or "ox"
Config.Target = "qb" -- "qb" or "ox"
Config.Dispatch = "ps-dispatch" -- "cd_dispatch" or "ps-dispatch" or "qs-dispatch"
Config.Debug = false -- true or false
Config.Assault = { -- Assault settings
enable = true, -- Enable or disable the assault
timeRob = { min = 10, max = 10 }, -- Seconds ( random 10 ~ 30 seconds )
cooldown = 30, -- Minutes
pedAttack = {
chance = 10, -- 10% chance to attack the player
weapon = "WEAPON_PISTOL", -- Weapon that the ped will use to attack the player
respawnTime = 10 * 60 * 1000, -- Time in milliseconds (ex: 10 minutes)
},
weaponsValid = {
"WEAPON_PISTOL",
}
}
Config.Commands = {
[1] = { command = "checkshopmoney", description = "Check the money specific shop have", permission = "admin" },
[2] = { command = "resetshopcooldown", description = "Reset the cooldown of a specific shop", permission = "admin" },
}
Config.Shops = {
[1] = {
shopName = "Shop1",
robbery = true,
coords = vector4(24.47, -1346.62, 29.5, 271.66),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 158.40,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
{ label = "Vodka", item = "vodka", price = 25, job = "all", type = "drink" },
},
},
[2] = {
shopName = "Shop2",
robbery = true,
coords = vector4(-3039.54, 584.38, 7.91, 17.27),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 17.27,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
},
[3] = {
shopName = "Shop3",
robbery = true,
coords = vector4(-3242.97, 1000.01, 12.83, 357.57),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 357.57,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
},
[4] = {
shopName = "Shop4",
robbery = true,
coords = vector4(1728.07, 6415.63, 35.04, 242.95),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 242.95,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
},
[5] = {
shopName = "Shop5",
robbery = true,
coords = vector4(1959.82, 3740.48, 32.34, 301.57),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 301.57,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
},
[6] = {
shopName = "Shop6",
robbery = true,
coords = vector4(549.13, 2670.85, 42.16, 99.39),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 99.39,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
},
[7] = {
shopName = "Shop7",
robbery = true,
coords = vector4(2677.47, 3279.76, 55.24, 335.08),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 335.08,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
},
[8] = {
shopName = "Shop8",
robbery = true,
coords = vector4(2556.66, 380.84, 108.62, 356.67),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 356.67,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
},
[9] = {
shopName = "Shop9",
robbery = true,
coords = vector4(372.66, 326.98, 103.57, 253.73),
blip = { enable = true, sprite = 52, display = 4, scale = 0.8, color = 2, shortRange = true, name = "Shop" },
pedModel = "mp_m_shopkeep_01",
heading = 253.73,
items = {
{ label = "Bread", item = "bread", price = 5, job = "all", type = "food" },
{ label = "Sandwich", item = "sandwich", price = 10, job = "all", type = "food" },
{ label = "Tosti", item = "tosti", price = 15, job = "all", type = "food" },
{ label = "Snikkel Candy", item = "snikkel_candy", price = 20, job = "all", type = "food" },
{ label = "Water", item = "water_bottle", price = 10, job = "all", type = "drink" },
},
}
}
Last updated