📄Configs
Config = {}
Config.Framework = {
type = "QBCore", -- "QBCore" or "ESX"
core_name = "qb-core", -- If you use esx ignore this line
target = "ox_target", -- qb-target or "ox_target"
notify = "ox_lib", -- "qbcore", "ox_lib", "okok", "lation_ui" (open code on c_utils.lua)
emotes = "rpemotes", -- "rpemotes", "scully_emotemenu" (open code on c_utils.lua)
fuel = "LegacyFuel", -- "ps-fuel", "okokFuel", "ox_fuel", "ti_fuel", "qs-fuel", "cdn-fuel" (open code on c_utils.lua)
inventory = "ox", -- "oldqb", "newqb", "ox"
menu = "ox_lib", -- "ox_lib", "lation_ui"
progress = "ox_lib", -- "ox_lib", "lation_ui" (open code on c_utils.lua)
billing = "qb", -- "qb", "RxBilling", "okokBilling", "esx" (open code on c_utils.lua)
job_name = "police", -- Job name to interact
mlo = "gnstudio", -- "gnstudio", "gabz"
}
Config.IngredientsShop = {
location = vec3(393.76, -804.62, 29.29),
ped_options = {
enable = true, -- Enable spawning a ped?
location = vector4(393.76, -804.62, 29.29, 273.21),
ped_model = "s_m_m_ammucountry",
},
blip_options = {
enable = true, -- Enable blip on map?
sprite = 52,
color = 2,
scale = 0.8,
label = "Ingredients Shop"
},
ingredientsShop = {
{ name = "bacon", price = 5, amount = 50, info = {}, type = "item", slot = 1 },
{ name = "burger", price = 10, amount = 50, info = {}, type = "item", slot = 2 },
{ name = "burger_bread", price = 10, amount = 50, info = {}, type = "item", slot = 3 },
{ name = "cheese", price = 10, amount = 50, info = {}, type = "item", slot = 4 },
{ name = "lettuce", price = 10, amount = 50, info = {}, type = "item", slot = 5 },
{ name = "meatchicken", price = 10, amount = 50, info = {}, type = "item", slot = 6 },
{ name = "onion", price = 10, amount = 50, info = {}, type = "item", slot = 7 },
{ name = "potato", price = 10, amount = 50, info = {}, type = "item", slot = 8 },
{ name = "tomato", price = 10, amount = 50, info = {}, type = "item", slot = 9 },
{ name = "salt", price = 10, amount = 50, info = {}, type = "item", slot = 10 },
}
}
Config.Delivery = {
waiting_time = math.random(5000,7500), -- Time to wait until receive a order
items = {
{ name = "bacon_burger", minAmount = 1, maxAmount = 3, rewardCash = {min = 50, max = 200} },
{ name = "bacon_cheeseburger", minAmount = 1, maxAmount = 2, rewardCash = {min = 50, max = 200} },
{ name = "burger_bleeder", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "burger_chickenmelt", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "burger_heartstopper", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "burger_torpedo", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "cheese_burger", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "horn_burger", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "loaded_burger", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "sirloin_burger", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "steak_burger", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "triple_burger", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "burger_softdrink", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "burger_milkshake", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "burger_coffee", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
{ name = "burger_fries", minAmount = 1, maxAmount = 1, rewardCash = {min = 50, max = 200} },
},
locations = {
vector4(-1177.33, -813.87, 14.47, 172.39),
vector4(-827.0, -691.51, 28.06, 90.28),
vector4(-715.81, -603.0, 31.56, 100.37),
vector4(-697.31, -676.07, 30.74, 1.57),
vector4(-512.71, -734.16, 32.71, 131.76),
vector4(-521.08, -855.52, 30.26, 323.85),
vector4(-680.49, -945.53, 20.93, 182.08)
},
ped_models = {
"s_m_m_autoshop_01",
"s_m_m_ammucountry",
"s_m_m_fiboffice_01",
"s_m_m_highsec_01",
"s_m_m_migrant_01",
"s_m_m_security_01",
"s_m_y_airworker",
"s_m_y_ammucity_01",
"s_m_y_factory_01",
"s_m_y_garbage"
}
}
Last updated