⚙️Configuration

Detailed explanation of the config file to adapt the resource to your player needs.

Config.lua

Config.command = "foodie"

Command to open the Foodie App, leave it blank if you are going to use an item or triggering the event from somewhere else.

Config.UseItem = false
Event to use to open the UI : 
"zat-deliveryapp:client:OpenUi"

Change to true if you want to use an item, so it disables the command.

Config.Framework    = "qbcore"

change to "esx" if you are going to use the ESX framework.

Config.Currency = "$"

you can change it to € , £ ...

Config.UseSteamName     = true      -- Only for QBCore

turn in to false, if you want to use RP-ingame names instead of steam name.

Config.authorizedJobs   = {
    ["burgershot"] = "BurgerShot",
    --["jobname"] = "Restaurant Name",
}

add as many restaurants as wou want.

You can add as many restaurants as you want ! For each restaurant you have to add its name, default status (open or close), image link , and foods.

Last updated