πŸ“™
Simonfas FiveM
  • ⚠️About Simonfas Fivem
    • πŸ›’Shop
    • πŸ”—Discord
  • πŸ“‘EXTRA
    • ❓Questions
    • 🌐Locales
      • πŸ‡ΊπŸ‡²OX LIB Locales
      • πŸ‡ΊπŸ‡ΈNormal Locales
  • Create A Server
    • Getting Started
      • Download Artifacts
      • Setup TxAdmin
  • πŸ–₯️SCRIPTS
    • 🚢Spawn NPC Copy
      • πŸ“½οΈRelease video
      • πŸ“½οΈOX LIB UPDATE
      • 🟒Green Screen
      • πŸ’ƒAnimation Presets
    • πŸšΆβ€β™€οΈSpawn NPC Copy Sample Version
    • 🏎️Drift Script
      • Notify
    • πŸ§₯Refreshskin
    • 🧰Mechanic
    • πŸ›—Elevator
      • Notify
    • πŸš“Job Garage
      • Notify
    • πŸ“±Stausi Tablet
  • πŸ—’οΈFivem Server Files Rework
    • πŸ‡©πŸ‡°[DK] Devo Network Rework
  • 🀩Coming soon
    • πŸ—ƒοΈEvidence
      • Local Databsase
    • πŸ”Restaurant Job
    • 🌳Lumberjack Job
Powered by GitBook
On this page
  1. Coming soon

Restaurant Job

Config.lua to Restaurant Job

Config.lua
Config = {}

Config.framework = "ESX" -- ESX/QBCORE
Config.esx = "NEW" -- OLD/NEW

Config.restaurantMenuTargetIcon = "fas fa-hand"
Config.targetSize = vector3(2.0, 2.0, 2.0)

Config.valuta = "DKK" -- What valuta ur using
Config.valutaPlacement = "Before" -- Before/After
Config.pricePlacement = "Description" -- Title/Description

Config.billingsystem = "OKOK" -- ESX/QBCORE/OKOK
Config.billmessage = "Food And Drinks"

Config.kitchenprogresstime = 5000

Config.restaurant = {
    ['Burgershot'] = {
        Label = "Burgershot",
        MenuLabel = "Burgershot Menu",
        RestaurantBlip = {
            Blip = true,
            BlipCoords = vector3(-1185.7026, -892.6956, 13.8862),
            BlipSprite = 628,
            BlipDisplay = 4,
            BlipColor = 5,
            BlipScale = 1.0
        },
        ResturantMenuCoords = {
            vector3(-1185.0000, -893.4700, 13.8862),
            vector3(-1182.2000, -891.5000, 13.8862),
            vector3(-1189.3400, -887.0000, 13.8862),
            vector3(-1186.8000, -885.2000, 13.8862)
        },
        ResturantCashRegisterCoords = {
            vector3(-1191.2972, -894.1766, 14.1486),
            vector3(-1193.2319, -893.5639, 14.1600),
            vector3(-1195.4329, -893.1573, 14.1023),
            vector3(-1197.6144, -892.5295, 14.1068)
        },
        ResturantKitchenCoords = {
            vector3(-1195.6907, -898.1435, 13.8862)
        },
        ResturantStorageCoords = {
            vector3(-1196.7346, -901.3549, 13.8862)
        },
        JobGarage = {
            SpawnIntoTheCar = false, -- true/false
            GarageLocation = vector3(-1188.3315, -901.6507, 13.8345),
            ParkCarLocation = vector3(-1188.3315, -901.6507, 13.8345),
            SpawnLocation = vector4(-1181.0521, -902.8681, 13.5146, 296.8931)
        },
        JobCars = {
            ['stalion2'] = {
                Label = "Burgershot Car"
            }
            -- Add more
        }
    },
    ['Hotdogs'] = {
        Label = "Chuhuahua Hotdogs",
        MenuLabel = "Hotdogs Menu",
        RestaurantBlip = {
            Blip = true,
            BlipCoords = vector3(47.3647, -1004.8790, 29.2870),
            BlipSprite = 797,
            BlipDisplay = 4,
            BlipColor = 5,
            BlipScale = 1.0
        },
        ResturantMenuCoords = {
            vector3(45.7945, -1006.9661, 29.2883)
        },
        ResturantCashRegisterCoords = {
            vector3(44.4837, -1005.1580, 29.5501),
            vector3(43.2107, -1004.7401, 29.5107)
        },
        ResturantKitchenCoords = {
            vector3(40.4435, -1006.9964, 29.2866)
        },
        ResturantStorageCoords = {
            vector3(43.9070, -1008.4412, 29.2872)
        },
        JobGarage = {
            SpawnIntoTheCar = true, -- true/false
            GarageLocation = vector3(40.6031, -1008.7330, 29.4855),
            ParkCarLocation = vector3(39.4731, -1016.8818, 29.4845),
            SpawnLocation = vector4(33.2672, -1016.7967, 29.4565, 159.4357)
        },
        JobCars = {
            ['panto'] = {
                Label = "Panto"
            }
            -- Add more
        }
    }
    -- Add more
}

Config.menuFolder = {
    ['Burger'] = {
        Label = "Burgers",
        Icon = "fas fa-hand"
    },
    ['Hotdog'] = {
        Label = "Hotdogs",
        Icon = "fas fa-hand"
    },
    ['Drinks'] = {
        Label = "Soda"
    },
    ['Deserts'] = {
        Label = "Ice",
        Description = "From Itali Ice Fabrics"
    }
}

Config.menu = {
    ['cheeseburger'] = {
        Dish = "Cheese Burger",
        Price = 20,
        Description = "A Burger With Cheese",
        MenuFolder = "Burger",
        Restaurant = "Burgershot"
    },
    ['ecola'] = {
        Dish = "Ecola",
        Price = 15,
        Description = "A Good Soda If U Really Need!",
        MenuFolder = "Drinks",
        Restaurant = "Burgershot"
    },
    ['vanillaice'] = {
        Dish = "Vanilla Ice",
        Price = 25,
        Description = "An Ice With Vanilla Flavour",
        MenuFolder = "Deserts",
        Restaurant = "Burgershot"
    },
    ['hotdog'] = {
        Dish = "Hotdog",
        Price = 20,
        Description = "A Hotdog With A Red Sausage",
        MenuFolder = "Hotdog",
        Restaurant = "Hotdogs"
    },
    ['esprite'] = {
        Dish = "Esprite",
        Price = 15,
        Description = "A Good Soda If U Really Need!",
        MenuFolder = "Drinks",
        Restaurant = "Hotdogs"
    },
    ['strawberryice'] = {
        Dish = "Strawberry Ice",
        Price = 25,
        Description = "An Ice With Strawberry Flavour",
        MenuFolder = "Deserts",
        Restaurant = "Hotdogs"
    }
    -- Add more
}

Config.recipe = {
    ['cheeseburger'] = {
        ['burger_bun'] = 2,
        ['beef'] = 1,
        ['pickles'] = 3,
        ['tomato'] = 1,
        ['cheese'] = 1
    },
    ['ecola'] = {
        ['cup'] = 1,
        ['colasyrup'] = 1
    },
    ['vanillaice'] = {
        ['milk'] = 1,
        ['vanilla'] = 1
    },
    ['hotdog'] = {
        ['sausage'] = 1,
        ['bread'] = 1,
        ['pickles'] = 3
    },
    ['esprite'] = {
        ['cup'] = 1,
        ['grapesyrup'] = 1
    },
    ['strawberryice'] = {
        ['milk'] = 1,
        ['strawberry'] = 1
    }
    -- Add more
}

Config.store = {
    ['breadstore'] = {
        Label = "Bread Store",
        Blip = {
            Blip = true,
            BlipSprite = 52, -- Use appropriate blip sprite
            BlipDisplay = 4,
            BlipColor = 5,
            BlipScale = 1.0
        },
        Location = vector3(502.2627, 113.2361, 96.6381),
        Restaurants = { "Burgershot", "Hotdogs" } -- Which restaurants should use the store
    },
    ['milk_store'] = {
        Label = "Milk Store",
        Blip = {
            Blip = true,
            BlipSprite = 52, -- Use appropriate blip sprite
            BlipDisplay = 4,
            BlipColor = 5,
            BlipScale = 1.0
        },
        Location = vector3(315.1207, -128.1019, 69.9768),
        Restaurants = { "Burgershot", "Hotdogs" } -- Which restaurants should use the store
    }
}

Config.ingredient = {
    ['burger_bun'] = { -- The item name
        price = 150, -- price of the item in the store
        store = { -- Wich stores should have the items?
            "breadstore"
        }
    },
    ['milk'] = { -- The item name
        price = 75, -- price of the item in the store
        store = { -- Wich stores should have the items?
            "milk_store"
        }
    }
}
PreviousLocal DatabsaseNextLumberjack Job

Last updated 10 months ago

🀩
πŸ”