m-Scripts
  • m-Scripts Documentation
  • QBCore
    • Jobs
      • 🚗[QB] TunerJob
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🍞[QB] BeanMachine
        • 🛠️Installation
        • 🗒️Config
      • 🍔[QB] Burgershot
        • 🛠️Installation
        • 🗒️Config
      • 🍈[QB] CoolBeans
        • 🛠️Installation
        • 🗒️Config
      • 🚚[QB] Deliveries
        • 🛠️Installation
        • 📃Config
          • 📃config_functions
      • 🍎[QB] Farming
        • 🛠️Installation
        • 🗒️Config
      • 🐟[QB] Fishing
        • 🛠️Installation
        • 🗒️Config
          • 📄config_diving
          • 📄config_fishingnet
          • 📄config_fishingrod
          • 📄config_functions
          • 📄config_language
          • 📄config_seashells
          • 📄config_tournament
          • 📄config_upgrades
      • 🚛[QB] Garbage
        • 🛠️Installation
        • 🗒️Config
      • 🗝️[QB] GoldRush
        • 🛠️Installation
        • 🗒️Config
      • ⛰️[QB] Hunting
        • 🛠️Installation
        • 🗒️Config
      • 🪵[QB] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[QB] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🛢️[QB] Oil Factory
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • ☕[QB] Pond Coffee
        • 🛠️Installation
        • ❓Common Questions
        • 🗒️Config
      • 🚚[QB] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🥃[QB] Vanilla
        • 🛠️Installation
        • 🗒️Config
      • 🛻[QB] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • 🥃[QB] Bahamas
        • 🛠️Installation
        • 📄Config
      • 🔫[QB] Ammunation
        • 🛠️Installation
        • 📄Config
      • 🐟[QB] Pearls
        • 🛠️Installation
        • 📄Config
      • 🔓[QB] Impound
        • 🛠️Installation
        • 📄Config
        • ✅Garages
      • 🚘[QB] Vehicleshop
        • 🛠️Installation
        • 📄Config
          • Functions
          • Job
          • Language
        • ❓Common Questions
    • General
      • 🏕️[QB] Camping
        • 🛠️Installation
        • 🗒️Config
          • Consumables
          • Language
      • 🎄[QB] Christmas
        • 🛠️Installation
        • 🗒️Config
      • 🎃[QB] Halloween
        • 🛠️Installation
        • 🗒️Config
      • 📔[QB] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 🗒️Config
        • 🔁Server-Exports
      • 🏘️[QB] Vespucci
        • 🛠️Installation
        • 🗒️Config
          • Brewery
          • Digital Den
          • Masquerade
          • Pro Bikes
      • 🏖️[QB] Beach Activities
        • 🛠️Installation
        • 🗒️Config
      • 🚘[QB] Car Rental
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • ✈️[QB] Sky Racing
        • 🛠️Installation
        • 📄Config
      • 🚘[QB] Car Wash
        • 🛠️Installation
        • 📄Config
      • 🪨[QB] Grinder
        • 🛠️Installation
        • 📄Config
      • 📹[QB] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
      • 🏠[QB] Motel
        • 🛠️Installation
        • 📄Config
        • 🖥️Compatibilities
      • 🏚️[QB] Job Center
        • 📄Config
      • 🛠️[QB] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
    • Illegal
      • 🔫[QB] Gangs
        • 🛠️Installation
        • 🗒️Config
      • 🔔[QB] Drug Selling
        • 🗒️Config
      • 🌱[QB] Drugs
        • 🛠️Installation
        • 🗒️Config
      • 🍯[QB] Craft Potion
        • 🛠️Installation
        • 🗒️Config
      • 🅱️[QB] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🚗[QB] Car Thief
        • 🗒️Config
      • 🏠[QB] House Robbery
        • 🛠️Installation
        • 🗒️Config
      • 💎[QB] Jewelry
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ®️[QB] Mini Robberys
        • 🛠️Installation
        • 🗒️Config
      • 💰[QB] MoneyWash
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🔫[QB] Rob NPC
        • 🛠️Installation
        • 🗒️Config
      • 🏃‍♂️[QB] Runs
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • ⛽[QB] Steal Fuel
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🏬[QB] Store Robbery
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 🪛[QB] Scrapyard
        • 🛠️Installation
        • 🗒️Config
          • Functions
          • Language
      • 👾[QB] Territories
        • 🛠️Installation
        • 📄Config
          • Functions
      • 🏨[QB] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • ESX
    • Jobs
      • 🚗[ESX] Tunerjob
        • ❗Dependencies
        • 🛠️Installation
          • ℹ️OX-Inventory
          • ℹ️QS-Inventory
        • 🗒️Config
          • BlacklistVehicles
          • Craft
          • Functions
          • Language
          • Targets
          • Wraps
          • Events
        • ❓Common Questions
      • 🚚[ESX] Trucker
        • 🛠️Installation
        • 🗒️Config
          • 📄Functions
          • 📄Language
      • 🪵[ESX] Lumberjack
        • 🛠️Installation
        • 🗒️Config
      • 🛻[ESX] Mechanic Run
        • 🛠️Installation
        • 🗒️Config
      • ⛏️[ESX] Mining
        • 🛠️Installation
        • 🗒️Config
      • 🎣[ESX] Fishing
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • Diving
          • Fishingnet
          • Fishingrod
          • Seashells
          • Tournament
          • Upgrades
    • General
      • 🚘[ESX] Car Rental
        • 🛠️Installation
        • 🗒️Config
      • 📃[ESX] Insurance
        • 🛠️Installation
        • 🖥️Compatibilities
        • 📄Config
        • 🔁 Server-Exports
      • 🚘[ESX] Car Wash
        • 🛠️Installation
        • 📄Config
      • 📹[ESX] SpyCams & CCTV's
        • 🛠️Installation
        • 📄Config
        • 🏠[ESX] Motel
          • 🛠️Installation
          • 📄Config
          • 🖥️Compatibilities
      • 🛠️[ESX] Crafting
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🎄[ESX] Christmas
        • 🛠️Installation
        • 📄Configs
    • Illegal
      • 🔫[ESX] Gangs
        • 🛠️Installation
        • 📄Config
        • ❓Common Questions
      • 🅱️[ESX] Blackmarket
        • 🛠️Installation
        • 🗒️Config
          • config_functions
          • config_language
      • 🏨[ESX] GoPostal
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
          • S_utils
  • Both Framework
    • Scripts
      • 🚗Car Rebuild
        • 🛠️Installation
        • 🗒️Config
      • 🗺️City Guide
        • 🛠️Installation
        • 📄Config
          • Functions
          • Language
      • 🛒Shops
        • 📄Config
        • 🛠️Installation
      • 🔁Reputation
        • 📄Config
        • 🛠️Installation
        • ⁉️Exports & Commands
          • Server Exports
          • Commands
      • 💤AFK System
        • 📄Configs
        • 🛠️Installation
      • 🚗Garages
        • 🛠️Installation
        • 📑User Guide
          • Create Garages
          • Create Private Garage
          • Impound & Auctions
          • Add vehicle to gang/job
          • Commands
      • ✈️Airplane Job
        • 🛠️Installation
        • 📃Configs
        • ℹ️Exports
      • 📋Scoreboard
        • 📃Config
      • 📦StorageUnits
        • 🛠️Installation
        • 📃Config
Powered by GitBook
On this page
  1. QBCore
  2. Jobs
  3. [QB] Burgershot

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 },
}
PreviousInstallationNext[QB] CoolBeans

Last updated 1 year ago

🍔
🗒️