Main config

This is the main configuration file. (sh_main.lua)

This value determines the delivery price player pays depending of how far the restaurant is from his current location.

Config.DeliveryPrice = 0.05 --1 dollar per meter

Inventory item icon image path that are using in restaurant menu and order screens.

Config.UIImageSource = "ox_inventory/web/images"--Path of your inventory item images, examples:
    --QBCore: qb-inventory/html/images
    --Ox: ox_inventory/web/images

Robbery config

You can enable or disable the food bag robbery feature, as well as customize the robbery requirements, such as required weapons and whether the target player must have their hands up.

Config.Robbery = {
    enabled = true,
    progressTime = 5000,--Time in milliseconds it takes to rob a player
    handsUp = true, --If the player being robbed needs to have their hands up for the robbery to work
    unarmed = {--What weapon types count as being unarmed
        [`WEAPON_UNARMED`] = true,
        [`WEAPON_PETROLCAN`] = true,
        [`WEAPON_KNIFE`] = true,
        [`WEAPON_BAT`] = true,
        [`WEAPON_CROWBAR`] = true,
        [`WEAPON_GOLFCLUB`] = true,
        [`WEAPON_HAMMER`] = true,
        [`WEAPON_HATCHET`] = true,
        [`WEAPON_FLASHLIGHT`] = true,
        [`WEAPON_BOTTLE`] = true,
    }
}

Blips config

Blips that are used in the script for different steps.

Last updated