Shared/settings.lua

-- | # You can get help from our document: https://thug.gitbook.io/documentation

Config = {}

-- | # Main Settings  ------------------------------------------------------------------------------------

Config.Settings = {
    ['Framework'] = 'qb', -- | # In this section you have the options 'qb', 'old-qb', 'esx', 'old-esx', 'qbox'
    ['SQL'] = 'oxmysql', -- | # In this section you have the options 'oxmysql', 'ghmattimysql', 'mysql-async'
    ['Screenshot_Webhook'] = '', -- | # You must enter a Discord Webhook here for the Screenshot System to run smoothly.
    ['Respond_Call_Keybind'] = 'Y', -- | # In this section you can change the Respond Call keybind.
    ['Mark_Location_Keybind'] = 'E', -- | # In this section you can change the Mark Location keybind.
    ['Menu_Keybind'] = 'O', -- | # In this section you can change the Dispatch Menu keybind.
    ['Menu_Command'] = 'dispatchmenu', -- | # In this section you can change the opening code of the Dispatch Menu.
    ['Allowed_Jobs'] = { -- | # Here you must specify the job groups that can open the Dispatch menu and the Alert details!
        ['police'] = { Label = 'LSPD', Color = { R = 66, G = 132, B = 255 } },
        ['sheriff'] = { Label = 'LSSD', Color = { R = 222, G = 195, B = 86 } },
        ['ambulance'] = { Label = 'LSMD', Color = { R = 255, G = 0, B = 94 } }
    },
    ['Maximum_Alert_History'] = 25, -- | # In this section you can set the maximum number of Alerts they can see in the Dispatch Menu!
    ['Default_Alerts'] = {Shooting = true, Fighting = true, Vehicle_Theft = true, Gov_Vehicle_Theft = true}, -- | # See alerts.lua for all Alert edits.
    ['Suppressor_Function'] = true, -- | # If you set this option to true, Dispatch will not be triggered when fired from weapons with silencers.
    ['Delayed_Zones'] = true, -- | # You can edit the Delayed Zones in the zones.lua
    ['Whitelisted_Zones'] = true, -- | # You can edit the Whitelisted Zones in the zones.lua
    ['Whitelisted_Weapons'] = true, -- | # You can edit the Whitelisted Weapons in the weapons.lua
}

Config.Gov_Vehicles = {
    'police',
    'police2',
    'police3',
    'sheriff',
    'sheriff2',
    'ambulance',
    'firetruk',
    'riot',
    'policeb',
    'policet',
    'fbi',
    'fbi2',
    'pranger',
    'lguard',
    'lifeguard'
}

Last updated