Automatic fire alerts

We've added alerts, sounds, blips and waypoints for Automatic Fires, making it easy to alert in-game firefighters to the new fire allowing them to make their way to it. Additionally, integration with Inferno Pager found here means that you'll be able to alert those tuned into a specified pager.

To configure any of the following, navigate to the automaticFires section of the config.lua file.

In Game Alerts

To setup in game alerts navigate to the inGameAlerts = { section:

inGameAlerts = {
            notification = true,
            sound = { -- https://wiki.rage.mp/index.php?title=Sounds (titles are the audio ref)
                enabled = true,
                soundName = "CONFIRM_BEEP",
                soundSet = "HUD_MINI_GAME_SOUNDSET",
            }
},

Setting notification to true will create a notification ontop of the minimap. This will only be shown to players clocked on or on a specified job (if QB-Core/ESX/vRP) is setup. If no clocking on system is used, this will be shown to all players.

Next, you can enable or disable the sound. By default, we've added a beep sound but you'll be able to change this by picking one from the list found here. Make sure you fill out the sound name and sound set.

Inferno Pager

As said previously, we've added support for Inferno Pager including the ability to configure which pagers to trigger in the config file. Navigate to the infernoPager = { section.

infernoPager = {
            enabled = true,
            pagersToTrigger = {"fire"}, -- These are the pagers to trigger
},

If you want to use our integration with Inferno Pager, set enabled to true. By default, we've added the fire pager to be triggered. You may also want to alert EMS for example or another pager which you have setup in the Inferno Pager resource.

Codedesign Dispatch

We have added out of the box support for cDispatch. To set this up, navigate to the config.lua file and find the cdDispatch = { section.

cdDispatch = {
            enabled = false,
            jobs = {'firefighter'},
            title = 'New Fire',
        },

Here you are able to make the necessary changes in order to use cDispatch..

psDispatch

We have added out of the box support for psDispatch. To set this up, navigate to the config.lua file and find the psDispatch = { section.

psDispatch = {
            enabled = true,
            jobs = {'police'},
            resourceName = "ps-dispatch",
            displayCode = "10-420",
            blipName = "New Fire",
            priority = 1,
            radius = 0,
            blipSprite = 436,
            blipColour = 1,
            blipScale = 1.5,
            blipLength = 3,
            blipflash = true,
            icon = 'fas fa-fire-extinguisher',
        },

Here you are able to make the necessary changes in order to use psDispatch.

Blips

Blips are a valuable way of adding an icon to the map to display locations of automatic fires. We've also added the ability to add automatic routing to blips, speeding up the response for firefighters. To setup blips, navigate to the blips = { section,

blips = {
            enabled = true,
            sprite = 436,
            colour = 49,
            scale = 1.0,
            shortRange = false,
            routeEnabled = true, -- This sets up a route on the map to the blip
            routeColour = 49,
},

If you want to disable blips, set enabled to false. The sprite and colour option can be set by using this reference found here (scroll down for colours). Please ensure the sprite and colour you use is valid.

Next, the scale of the blip is the size. This is a multiplier so if you find the blips are too small, increase this slightly. You may need to experiment with this to find the best option for your server.

The shortRange option determines whether blips should be displayed only when nearby. By default, we've got this option disabled as it is important for firefighters to know where the exact location is from a distance, not when they are nearby.

Lastly, you can easily enable a route on the map to the blip by default, by enabling routeEnabled. The route colour also uses the same colour selection as the blip colour, found here. Please ensure a valid colour is used.

Blips and rotues will only be visible to those that are using the specified job/permission if using QB-Core/ESX/vRP and this is setup. Alternatively, it will only be shown to those that are clocked on if you are using our clock on system. If no system is used, the blips and routes will be shown to all players.

Last updated