Configuration

return {
    WhitelistedJobs = {
        "examplejob",
        "examplejob2"
    },
    Alerts = {
        ["examplealert"] = {
            jobs = {"examplejob"},
            title = "Example Title",
            message = "Example Description",
            code = "10-0",
            icon = "user-secret",
            priority = "normal",
            blip = 126,
        },
    }
}

WhitelistedJobs

In WhitelistedJobs you can add jobs string that will have access to the dispatch menu

Example:

WhitelistedJobs = {"police", "ambulance"},

Alerts

In Alerts you will have to set the alert types that you will then specify in the export

  • "examplerobbery" : Is the type of robbery to specify in the export

  • jobs table : In the table you will have to insert the jobs string enabled to receive the alert

  • title string : The title will be shown as the title in the notification and dispatch menu window

  • message string : Description of the alert shown on notification and dispatch menu

  • code string : Code for RP purposes that follows American radio codes

  • icon string : Fontawesome Icon of the alert, for more icons see https://fontawesome.com/icons

  • priority string : Priority level that will determine the importance and color of the alert ("normal" or "medium" or "high")

  • blip string : Blip code created at the point of the robbery, for more blips see https://docs.fivem.net/docs/game-references/blips

Last updated