Config File

Preview Of The Config FIle

Config = {
    Framework = {
        Type = 'qb',              -- qb, esx, none
        ResourceName = 'qb-core', -- qb-core, es_extended,
    },
    Voice = {
        Type = 'pma',               -- pma
        ResourceName = 'pma-voice', -- pma-voice,
    },
    Jobs = {                        -- Use this site to view colors, most of the times, most of the times we are using the 500 variant https://v3.tailwindcss.com/docs/customizing-colors
        ["police"] = { color = "blue", defaultRadio = 1 },
        ["ambulance"] = { color = "red", defaultRadio = 10 },
    },
    Events = {
        ["Server:PlayerLoaded"] = "QBCore:Server:PlayerLoaded", -- if you are using esx, use esx:playerLoaded
        ["Server:OnJobUpdate"] = "QBCore:Server:OnJobUpdate",   -- if you are using esx, use esx:setJob
    },

    Commands = {
        SetCallsign = { -- If you already have this command on your server, please read the README file to make it work on your server
            enabled = true,
            command = "dispatch:setcallsign",
            description = "Sets your callsign",
            args = { { name = "callsign", help = "The callsign you want to set" } }
        },
        UseAlertPanel = { -- The command to toggle the alert panel on and off, can't be disabled
            command = "dispatch:alertpanel",
            description = "Toggles on and off the usage of the alert panel",
            args = {},
        }
    },
    DefaultAlerts = { -- Default alerts provided in open/client/cl_defaultalerts.lua,
        Shooting = {
            enabled = true,
            cooldown = 5 -- The cooldown in seconds before the alert can be triggered again
        },
        Call911 = {
            enabled = true,
            cooldown = 30 -- The cooldown in seconds before the alert can be triggered again
        }
    },
    Locales = { -- Locales For UI ONLY
        currentUnits = "Current Units",
        addUnit = "Add Unit",
        createUnit = "Create Unit",
        createUnitDesc = "Create a new unit to organize your officers",
        callsign = "Callsign",
        vehicle = "Vehicle",
        name = "Name",
        radio = "Radio (Optional)",
        car = "Car",
        helicopter = "Helicopter",
        boat = "Boat",
        Plane = "Plane",
        create = "Create",
        alertPanel = "Alert Panel",
        noAlets = "No Alerts Found",
        respond = "Respond",
        changeAlerts = "Change Alert",
        drag = "Drag",
    }
}

Last updated