🗒ī¸Config

Config = Config or {}

Config.CoreName = "qb-core" -- You core name
Config.PreFix = "qb-" -- Prefix's
Config.QBMenu = "qb-menu" -- Your qb-menu name
Config.Target = "qb-target" -- Your qb-target name
Config.Input = "qb-input" -- Your qb-input name
Config.InvLink = "qb-inventory/html/images/" -- Inventory link where you have your inventory images
Config.Phone = "qb-phone" -- Available: qb-phone / qs-smartphone / gksphone / "renewed-phone" or "notify"
Config.Job = "burgershot" -- Name of job
Config.GnStudioProps = true -- Use props of https://gnstud.io/ ?
Config.JimPayments = false -- Use jim payments?
Config.Peds = {{type = 4, hash= GetHashKey("csb_burgerdrug"), x = -1176.99,  y = -891.75,  z = 12.79, h = 338.39}} -- Ped of list vehicles


-- Times
Config.TimeMakeDrinks = 5000 -- Time to make a drink
Config.TimeMakeBurger = 5000 -- Time to make burgers
Config.TimeMakeDonuts = 5000 -- Time to make donuts
Config.TimeMakeTacos = 5000 -- Time to make tacos
Config.TimeWaitRequests = 10000 -- Waiting time until receiving a new order

-- Items
Config.Items = {
    Fries = "fries",
    Meat = "meat",
}

----------------------
-- Car 
----------------------
Config.Keys = "qb" -- "qb" or "qs"
Config.Fuel = "LegacyFuel" -- Name of your fuel script

Config.Carros = {
    [1] = {carro = "faggio2"}, -- Name of the vehicle
}

Config.SpawnCarrinho = {
    [1] = {x = -1173.37, y = -888.88, z = 13.92, h = 35.11}, -- Location to spawn the vehicle
}

--------------------------
-- Blip
--------------------------
Config.Blip = {
    Enable = true,
    Location = vector3(-1189.94, -888.39, 13.97),
    Sprite = 106,
    Display = 2,
    Scale = 0.8,
    Colour = 44,
    Name = "Burgershot",
}

--------------------------
-- FastDeliveries
--------------------------
Config.FastDeliveries = {
    Trigger = "inventory:client:SetCurrentStash",
    OpenInvTrigger = "inventory:server:OpenInventory",
    Name = "FastDeliveries",
    Weigh = 50000,
    Slots = 50,
}

--------------------------
-- Warehouse
--------------------------
Config.Warehouse = {
    Trigger = "inventory:client:SetCurrentStash",
    OpenInvTrigger = "inventory:server:OpenInventory",
    Name = "Warehouse",
    Weigh = 50000,
    Slots = 50,
}


--------------------------
-- Fridge
--------------------------
Config.ItemsFridge = {
    [1] = { name = "meat", 		   price = 0, amount = 10, info = {}, type = "item", slot = 1 },
    [2] = { name = "chicken", 	   price = 0, amount = 10, info = {}, type = "item", slot = 2 },
    [3] = { name = "lettuce", 	   price = 0, amount = 10, info = {}, type = "item", slot = 3 },
    [4] = { name = "bread", 	   price = 0, amount = 10, info = {}, type = "item", slot = 4 },
    [5] = { name = "tomato", 	   price = 0, amount = 10, info = {}, type = "item", slot = 5 },
    [6] = { name = "cheese", 	   price = 0, amount = 10, info = {}, type = "item", slot = 6 },
    [7] = { name = "fries", 	   price = 0, amount = 10, info = {}, type = "item", slot = 7 },
    [8] = { name = "sacodelivery", price = 0, amount = 10, info = {}, type = "item", slot = 8 },
}

--------------------------
-- Deliverys
--------------------------
Config.Amount = math.random(2,4) -- Amount of each
Config.Foods = { -- Available food to delivery's request's
    'bleeder_burger', 'chicken_wrap', 'donutschocolate', 'donutsmorango', 'donutssimples', 'double_shot_burger', 'fries_box', 'goat_cheese_wrap', 
    'meteorite_icecream', 'orangotang_icecream', 'prickly_burger', 'tacos', 'the_fabulous_6lb_burger', 'the_glorious_burger', 'the_simply_burger',
}

Config.Drinks = { -- Available drinks to delivery's request's
    'cocacolalife', 'cocacolalight', 'cocacolanormal', 'cocacolazero','compalfrutosvermelhos','compalmaca', 'compalmangalaranja',
    'compalpessego','icetealimao','iceteamanga','iceteapessego','soda','sumolananas','sumollaranja','sumollimao','sumolmaracuja'
}

Config.Deliverys = { -- Locations to deliverys
    [1] = vector3(-1463.11, -704.57, 26.79),
    [2] = vector3(-1366.77, -208.6, 44.43),
    [3] = vector3(-769.81, -287.26, 37.09),
    [4] = vector3(-716.84, -372.15, 34.79),
    [5] = vector3(-601.47, -347.06, 35.24),
    [6] = vector3(-830.38, 114.97, 56.03),
    [7] = vector3(-1899.15, 132.45, 81.98),
    [8] = vector3(-1960.94, 212.04, 86.82),
    [9] = vector3(-1922.4, 298.46, 89.29),
    [10] = vector3(-2009.15, 367.48, 94.81),
    -- You can add more locations
}

Config.Payment = {
    Type = "cash", -- "cash" or "bank"
    Min = 50, -- Min earned for each delivery
    Max = 100, -- Max earned for each delivery
}

--------------------------
-- Drinks
--------------------------
Config.DrinksAvailable = {
    [1] = { name = "cocacolalife", 		        price = 10, amount = 25, info = {}, type = "item", slot = 1 },
    [2] = { name = "cocacolalight", 	        price = 10, amount = 25, info = {}, type = "item", slot = 2 },
    [3] = { name = "cocacolanormal", 	        price = 10, amount = 25, info = {}, type = "item", slot = 3 },
    [4] = { name = "cocacolazero", 	            price = 10, amount = 25, info = {}, type = "item", slot = 4 },
    [5] = { name = "compalfrutosvermelhos", 	price = 10, amount = 25, info = {}, type = "item", slot = 5 },
    [6] = { name = "compalmaca", 	            price = 10, amount = 25, info = {}, type = "item", slot = 6 },
    [7] = { name = "compalmangalaranja", 	    price = 10, amount = 25, info = {}, type = "item", slot = 7 },
    [8] = { name = "compalpessego",             price = 10, amount = 25, info = {}, type = "item", slot = 8 },
    [9] = { name = "icetealimao",               price = 10, amount = 25, info = {}, type = "item", slot = 9 },
    [10] = { name = "iceteamanga",              price = 10, amount = 25, info = {}, type = "item", slot = 10 },
    [11] = { name = "iceteapessego",            price = 10, amount = 25, info = {}, type = "item", slot = 11 },
    [12] = { name = "soda",                     price = 10, amount = 25, info = {}, type = "item", slot = 12 },
    [13] = { name = "sumolananas",              price = 10, amount = 25, info = {}, type = "item", slot = 13 },
    [14] = { name = "sumollaranja",             price = 10, amount = 25, info = {}, type = "item", slot = 14 },
    [15] = { name = "sumollimao",               price = 10, amount = 25, info = {}, type = "item", slot = 15 },
    [16] = { name = "sumolmaracuja",            price = 10, amount = 25, info = {}, type = "item", slot = 16 },
}

--------------------------
-- Donuts
--------------------------
Config.Donuts = {
    [1] = { name = "donutschocolate", 		    price = 10, amount = 25, info = {}, type = "item", slot = 1 },
    [2] = { name = "donutsmorango", 	        price = 10, amount = 25, info = {}, type = "item", slot = 2 },
    [3] = { name = "donutssimples", 	        price = 10, amount = 25, info = {}, type = "item", slot = 3 },
    [4] = { name = "orangotang_icecream",       price = 10, amount = 25, info = {}, type = "item", slot = 4 },
    [5] = { name = "meteorite_icecream",        price = 10, amount = 25, info = {}, type = "item", slot = 5 },
}

Last updated