Config File
Settings = {}
Settings.Debug = false -- Enable debug mode (true/false)
Settings.Framework = "qbcore" -- Framework used (qbcore, esx)
Settings.TargetSystem = "ox_target" -- Target system used (qb-target, ox_target)
Settings.Notif = "OX" -- Notification system: "ESX" | "OX" | "custom" (server_custom.lua)
Settings.PedInteractRadius = 2.0 -- Interaction radius for ped
-- Shop configurations
Settings.Shops = {
{
id = "shop1",
label = "24/7 Store",
currency = "cash", -- bank or cash
location = vec4(24.36, -1346.73, 28.5, 264.73),
ped = {
model = "a_m_m_business_01",
scenario = "WORLD_HUMAN_STAND_IMPATIENT"
},
blip = {
enabled = true,
sprite = 59,
color = 2,
scale = 0.8,
name = "24/7 Store"
},
categories = {
{ name = "FOOD", label = "Food" },
{ name = "DRINKS", label = "Drinks" },
{ name = "SNACKS", label = "Snacks" }
},
items = {
{
name = "sandwich",
label = "Sandwich",
price = 10,
category = "FOOD",
description = "A delicious sandwich..."
},
{
name = "cola",
label = "Cola",
price = 5,
category = "FOOD",
description = "Fresh cola"
},
{
name = "chips",
label = "Chips",
price = 10,
category = "DRINKS",
description = "Crispy Chips."
},
{
name = "coffee",
label = "Coffee",
price = 10,
category = "DRINKS",
description = "Michael Jackson Coffee."
},
{
name = "candy",
label = "Candy",
price = 10,
category = "SNACKS",
description = "Sweet candy."
}
}
},
{
id = "shop2",
label = "Dessert Shop",
currency = "bank", -- bank or cash
location = vec4(51.83, -134.95, 54.46, 165.66),
ped = {
model = "a_f_y_business_01",
scenario = "WORLD_HUMAN_CLIPBOARD"
},
blip = {
enabled = true,
sprite = 279,
color = 3,
scale = 0.8,
name = "Dessert Shop"
},
categories = {
{ name = "DESSERTS", label = "Desserts" }
},
items = {
{
name = "chocolatedonut",
label = "Chocolate Donut",
price = 10,
category = "DESSERTS",
description = "Pop Donat..."
},
{
name = "icecream",
label = "Ice-Cream",
price = 10,
category = "DESSERTS",
description = "Nutella Ice-cream Enjoy it."
},
{
name = "cake",
label = "Cake",
price = 10,
category = "DESSERTS",
description = "A delicious Cake With Cream."
},
{
name = "sandwich",
label = "Sandwich",
price = 12,
category = "DESSERTS",
description = "A gourmet sandwich dessert."
}
}
}
--- ADD MORE SHOPS HERE ---
-- {
-- id = "shop4",
-- label = "Shop Name",
-- currency = "bank", -- bank or cash
-- location = vector4(x, y, z, heading),
-- ped = {
-- model = "ped_model",
-- scenario = "WORLD_HUMAN_SCENARIO"
-- },
-- blip = {
-- enabled = true,
-- sprite = 1,
-- color = 1,
-- scale = 0.8,
-- name = "Shop Blip Name"
-- },
-- categories = {
-- { name = "CATEGORY_NAME", label = "Category Label" }
-- },
-- items = {
-- {
-- name = "item_name",
-- label = "Item Label",
-- price = 10,
-- category = "CATEGORY_NAME",
-- description = "Item Description."
-- },
-- -- Add more items here
-- }
-- }
}
Settings.Translation = {
Open = "Open",
InvalidShop = "Invalid Shop",
CartEmpty = "Your cart is empty",
RetrieveBalance = "Unable to retrieve your balance",
PurchaseSuccess = "Thank you for shopping at",
PurchaseFailed = "Error processing payment!",
Insufficient = "Purchase ",
}
return Settings
Last updated