Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = Config or {}
- Config.OrderExpireTime = 120 -- Order pickup expire time (seconds)
- Config.OrderPrepareTime = 15 -- Order preparing time (seconds)
- Config.EatingTime = 5 -- Food eating time (seconds)
- Config.HelpTextStyle = 'qbcore' -- 'qbcore' or 'ww' if you are using ww_drawtext (https://github.com/Nexiakk/ww_drawtext)
- Config.TrayPlaceDistance = 10.0 -- Distance in which you can put tray
- Config.BankPayment = true -- Bank payment when you don't have enough cash
- Config.EatingPercentCut = math.random(20, 30) -- Random number between 20 and 30 of how much percent it takes each time you click eat button
- Config.Notify = {
- preparingorder = "Your order is being prepared.",
- preparingorderprogbar = "Preparing your order...",
- orderisready = "Your order is ready.",
- orderexpired = "Your order has expired.",
- onlyoneorder = "You can only have one order at a time.",
- handsbusy = "You already have tray in hands.",
- eating = "Eating...",
- notenoughmoney = "Not enough money."
- }
- Config.Restaurants = {
- { -- Popeyes
- name = "Popeyes",
- buyzone = { -- qb-target zone settings
- coords = vector3(175.0, -1446.5, 29.13),
- heading = 140,
- width = 1,
- length = 1,
- minZ = 29.0,
- maxZ = 29.7,
- debug = false, -- turn true when setting up new zones
- },
- blip = {
- name = "Popeyes", -- blip name
- sprite = 256, -- blip sprite
- scale = 0.8, -- blip scale
- color = 17, -- blip color
- },
- items = {
- {
- name = 'Double Floppa', -- name of food
- price = 50, -- price of food
- prop = 'prop_food_bs_tray_02', -- prop model of food (some trays https://gta-objects.xyz/objects/search?text=tray)
- hunger = 10, -- how much hunger u get each time you eat
- thirst = 10 -- how much thirst u get each time you eat
- },
- {
- name = 'Double Chicken Floppa',
- price = 50,
- prop = 'prop_food_bs_tray_02',
- hunger = math.random(10,15), -- other way if you want it randomized
- thirst = math.random(10,15) -- other way if you want it randomized
- },
- {
- name = 'Longbitch sandwich',
- price = 30,
- prop = 'prop_food_bs_tray_02',
- hunger = 10,
- thirst = 10
- },
- }
- },
- { -- Lucky Plucker
- name = "Lucky Plucker",
- buyzone = { -- qb-target zone settings
- coords = vector3(139.55, -1468.0, 29.36),
- heading = 140,
- width = 1,
- length = 1,
- minZ = 29.3,
- maxZ = 30.0,
- debug = false, -- turn true when setting up new zones
- },
- blip = {
- name = "Lucky Plucker",
- sprite = 256,
- scale = 0.8,
- color = 5,
- },
- items = {
- {
- name = 'Double Floppa',
- price = 50,
- prop = 'prop_food_bs_tray_02',
- hunger = 10,
- thirst = 10
- },
- {
- name = 'Double Wrap',
- price = 50,
- prop = 'prop_food_bs_tray_02',
- hunger = 10,
- thirst = 10
- },
- },
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement