CONFIGURATION FILE
Config = Config or {}
-- Framework options (manual setting instead of automatic detection)
Config.UseOxInventory = false -- false = use qb-inventory
Config.UseOxTarget = false -- false = use qb-target
Config.EnableCommand = true
Config.Command = "tablet"
Config.TabletItem = "tablet"
-- Target settings
Config.TargetSettings = {
pickupDistance = 2.0,
pickupText = "Take Order",
pickupIcon = "fas fa-box",
deliveryText = "Complete Delivery",
deliveryIcon = "fas fa-hand-holding"
}
-- Notify settings
Config.NotifySystem = {
type = "ox", -- "qb", "ox", "janiel", "okok", "custom"
custom = {
exportResource = "janiel-notify", -- use export resources
exportFunction = "Notify", -- Export function
useExport = true, -- true = export use , false = event use
eventName = "YourCustomEvent", -- useExport false use event
params = {
order = {"message", "type", "duration"},
types = {
success = "success",
error = "error",
info = "primary",
warning = "warning",
primary = "primary"
}
}
}
}
-- Notify
Config.Notifications = {
delivery_completed = "Delivery successfully completed! You can finish the job and get your money from the tablet ",
order_picked_up = "Order picked up successfully!",
deliver_to = "Deliver the order to %s",
order_cancelled = "Delivery cancelled!",
payment_received = "Payment received: $%d (Base: $%d + %d%% Commission: $%d)",
tablet_opened = "Tablet opened!",
waypoint_set = "Waypoint set to %s",
order_accepted = "Order accepted for %s",
customer_greeting = "Customer %s: %s",
customer_thanks = "Thank you for the delivery!",
wrong_restaurant = "Wrong restaurant! Go to the correct restaurant.",
no_active_delivery = "You have no active delivery!",
no_active_order = "No active order found!",
active_order_exists = "You already have an active order!",
restaurant_not_found = "Restaurant not found!",
cant_deliver = "You can't deliver at this time!",
items_not_found = "You don't have all required items!",
inventory_full = "You cannot carry all these items!",
must_be_on_duty = "You need to be on duty as a delivery driver",
player_not_found = "Player information could not be found!",
items_delivered = "Items delivered successfully!",
profile_updated = "Profile image updated successfully!",
profile_update_failed = "Failed to update profile image!",
invalid_image_url = "Invalid image URL! Please provide a valid image URL.",
level_up = "Level Up! You are now level %d",
profile_image_updated = "Profile image has been updated successfully!",
error_updating_profile = "Could not update your profile image. Try again later.",
deliver_completed = "Delivery completed successfully!",
not_enough_money = "You don't have enough money!",
waypoint_created = "Waypoint created to delivery location.",
server_error = "An error occurred. Please try again later."
}
Config.PickupLocations = {
{
name = "Burger Shot",
coords = vector4(-1202.64, -886.37, 13.20, 38.51),
items = {
{name = "burger-torpedo", label = "Torpedo", price = 50}
},
ped = {
model = "a_m_y_business_01",
scenario = "WORLD_HUMAN_STAND_IMPATIENT"
},
targetZone = {
minZ = 5.20,
maxZ = 20.20,
length = 1.0,
width = 1.0
}
},
{
name = "Pizza Place",
coords = vector4(537.08, 101.57, 96.54, 166.46),
items = {
{name = "pizza", label = "Pizza", price = 60}
},
ped = {
model = "cs_terry",
scenario = "WORLD_HUMAN_CLIPBOARD"
},
targetZone = {
minZ = 90.11,
maxZ = 105.11,
length = 5.0,
width = 5.0
}
},
{
name = "Hot Dog Stand",
coords = vector4(40.98, -999.53, 29.39, 73.41),
items = {
{name = "hotdog", label = "Hot Dog", price = 60}
},
ped = {
model = "cs_tomepsilon",
scenario = "WORLD_HUMAN_CLIPBOARD"
},
targetZone = {
minZ = 25.11,
maxZ = 35.11,
length = 1.0,
width = 1.0
}
},
{
name = "Taco Shop",
coords = vector4(7.39, -1599.79, 29.29, 56.19),
item = {
{name = "taco", label = "Taco", price = 60},
},
ped = {
model = "csb_anita",
scenario = "WORLD_HUMAN_CLIPBOARD"
},
targetZone = {
minZ = 20.11,
maxZ = 30.11,
length = 1.0,
width = 1.0
}
},
{
name = "Sandwich Shop",
coords = vector4(169.47, -1633.20, 29.29, 45.22),
item = {
{name = "sandwich", label = "Sandwich", price = 60},
},
ped = {
model = "cs_fabien",
scenario = "WORLD_HUMAN_CLIPBOARD"
},
targetZone = {
minZ = 20.11,
maxZ = 39.11,
length = 1.0,
width = 1.0
}
}
}
-- Customer NPC models
Config.CustomerModels = {
"a_m_y_hipster_01", "a_m_y_hipster_02", "a_f_y_hipster_01",
"a_m_y_business_01", "a_f_y_business_01", "a_m_m_business_01",
"a_f_y_tourist_01", "a_m_y_tourist_01", "a_f_y_tourist_02",
"a_m_y_beachvesp_01", "a_f_y_beach_01", "a_m_y_beach_02",
"a_f_y_bevhills_01", "a_m_y_bevhills_01", "a_f_y_bevhills_02",
"a_m_y_skater_01", "a_f_y_skater_01", "a_m_y_runner_01",
"a_f_y_fitness_01", "a_m_y_fitness_01"
}
-- Name pools for customers
Config.CustomerNames = {
first_names = {
"James", "Michael", "David", "John", "Robert", "William", "Thomas",
"Daniel", "Christopher", "Matthew", "Andrew", "Joseph", "Ryan",
"Nicholas", "Kevin", "Eric", "Steven", "Timothy", "Brian", "George",
"Edward", "Mark", "Donald", "Paul", "Charles", "Kenneth", "Steven",
"Emma", "Sarah", "Lisa", "Jennifer", "Jessica", "Ashley", "Elizabeth",
"Sophia", "Olivia", "Emily", "Isabella", "Ava", "Mia", "Victoria",
"Grace", "Chloe", "Zoe", "Lily", "Hannah", "Sofia", "Rachel", "Maria",
"Laura", "Anna", "Karen", "Amy", "Michelle", "Diana", "Christina"
},
last_names = {
"Smith", "Johnson", "Williams", "Brown", "Jones", "Garcia", "Miller",
"Davis", "Rodriguez", "Martinez", "Hernandez", "Lopez", "Gonzalez",
"Wilson", "Anderson", "Thomas", "Taylor", "Moore", "Jackson", "Martin",
"Lee", "Thompson", "White", "Harris", "Clark", "Lewis", "Robinson",
"Walker", "Hall", "Young", "Allen", "King", "Wright", "Scott", "Green",
"Baker", "Adams", "Nelson", "Hill", "Carter", "Mitchell", "Roberts",
"Turner", "Phillips", "Campbell", "Parker", "Evans", "Edwards", "Collins",
"Stewart", "Morris", "Murphy", "Rogers", "Reed", "Cook", "Morgan",
"Cooper", "Peterson", "Bailey", "Richardson", "Cox", "Howard", "Ward"
}
}
-- Blip settings for map markers
Config.Blips = {
restaurant = {
sprite = 267,
color = 2,
scale = 0.7,
name = "Restaurant"
},
delivery = {
sprite = 280,
color = 3,
scale = 0.6,
name = "Delivery Location"
}
}
-- Courier level progression
Config.Levels = {
[1] = {xpNeeded = 0, title = "Beginner Courier"},
[2] = {xpNeeded = 50, title = "Regular Courier"},
[3] = {xpNeeded = 150, title = "Professional Courier"},
[4] = {xpNeeded = 300, title = "Expert Courier"},
[5] = {xpNeeded = 500, title = "Master Courier"},
[6] = {xpNeeded = 750, title = "Elite Courier"}
}
-- Commission rates for each level
Config.CommissionRates = {
[1] = { level = 1, rate = 5 }, -- Level 1: 5% commission
[2] = { level = 2, rate = 10 }, -- Level 2: 10% commission
[3] = { level = 3, rate = 15 }, -- Level 3: 15% commission
[4] = { level = 4, rate = 20 }, -- Level 4: 20% commission
[5] = { level = 5, rate = 25 }, -- Level 5: 25% commission
[6] = { level = 6, rate = 30 } -- Level 6: 30% commission
}
-- Delivery locations (Customer locations)
Config.DeliveryLocations = {
vector4(0.38, -0.11, 71.19, 343.42),
vector4(173.15, -26.05, 68.35, 155.21),
vector4(187.96, -145.77, 61.57, 67.52),
vector4(155.22, -217.92, 54.35, 346.52),
vector4(53.34, -179.13, 54.97, 292.68),
vector4(-228.58, -79.31, 49.82, 335.60),
vector4(-646.24, -177.36, 37.78, 243.37),
vector4(-874.53, -308.60, 39.54, 344.29),
vector4(-961.22, -256.26, 38.66, 325.74),
-- You can add more locations
}
Last updated