Configuration

config.lua:

Config = {}

Config.UseKeybind = false -- Set to true to enable the keybind, or false to disable it.

Config.DefaultKey = 'F4'
Config.command = "createzone"      -- Command used to set the exclusion zone
Config.deletecommand = "deletezone" -- Command used to delete the Zone

Config.whitelistedjobs = {          -- Jobs that can set the Zone
    "police",
    -- "sheriff"
}

Config.announce = function(msg)     -- The notify System used
    ESX.ShowNotification(msg)
end

Config.maxradius = 500              -- The Maximum Radius someone can set the zone

Config.UseLogs = true -- Enable/Disable logging
Config.AdminLogs = "your webhook"
Config.PDLogs = "your webhook"

-- Config.AdminLogs = "https://discord.com/api/webhooks/your_admin_webhook_link"
-- Config.PDLogs = "https://discord.com/api/webhooks/your_pd_webhook_link"

Last updated