Main

File Path: shared/config.main.lua

This file consists of the main information needed for the script to operate correctly (such as language, admin group etc.)


Config File

Config = Config or {}

-- Images for the rewards will be taken from here
Config["InvetoryImagesPath"] = "nui://ox_inventory/web/images/"

-- If the event for the quest is executed outside of the supported script will kick the player if enabled.
Config["Cheaters"] = {
    ["CheckingEnabled"] = false,
    ["Kick"] = true,
    ["KickMessage"] =
    "You have been kicked for cheating. You have invoked the event %s from the resource %s which is not allowed.",
}

-- Laptop item name
Config["LaptopItem"] = "laptop"

-- Admin group for restricting commands
Config["AdminGroupRestriction"] = "qbcore.god"

-- Language of the laptop
Config["Language"] = "en"

Last updated