London Studios Documentation
Our StoreSupport PanelYouTube Channel
  • General
    • Documentation
    • Resource Support
    • Downloading Resources
    • Installing Resources
    • Resource Transfers
    • Common Errors
    • Translating Resources
    • Inventory Icons
    • Resource Ideas
    • Integration Requests
  • Vehicles
    • American Rearmount Ladder
      • Setting up
      • Anticheat Issues
    • Advanced Recovery Truck
      • Setting up
      • Anticheat Issues
    • SWAT Vehicle
      • Setting up
      • Anticheat Issues
    • Police Water Cannon
      • Setting up
      • Anticheat Issues
    • British Ladder Truck
      • Setting up
      • Anticheat Issues
    • Tiller Ladder Truck
      • Setting up
      • Anticheat Issues
    • Scissor Lift
      • Setting up
      • Anticheat Issues
    • Car Transporter
      • Setting up
      • Anticheat Issues
    • Water Carrier & Command Unit
      • Setting up
      • Anticheat Issues
    • Water Spray Unit
      • Setting up
      • Anticheat Issues
    • Snow Loader Pack
      • Setting up
      • Anticheat Issues
  • Resources
    • Bike Hire
      • Using the resource
      • Configuring the resource
      • Configuring locations
    • Bomb Disposal Robot (EOD)
      • EOD - How to use
      • EOD - Permissions Check
      • OX_Inventory Integration
      • Other Integrations
    • Car Sale Sign
      • Installation Video
      • Using the resource
      • Configuring the resource
      • Configuring permissions
      • Item Support
    • Congestion Charge
      • Configuring the resource
      • Modifying Zones & Adding Cameras
    • Custom Vinewood Sign
      • Installation Video
      • Sign Setup
    • Decontamination Tent
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Directional Spikes
      • Using the resource
      • Configuring the resource
    • Emergency Call Points
      • Using the resource
      • Configuring the resource
    • Fire Supply Line [v2]
      • Using the resource
      • Configuring Fire Supply Line
    • Fire Tools [v2]
      • Using the resource
      • Configuration
      • Permissions, Notifications and Items
      • Item Support
    • Helicopter Rescue
      • Using the resource
      • Configuring the resource
      • Configuring the permissions
      • Configuring locations
    • Mobile Spike
      • Setting up vehicles
      • Misc Configuration Values
      • Permission Checks
      • OX_Inventory Integration
      • Other Integrations
    • Police Grappler
      • Setting up vehicles
      • Misc Configuration Values
      • Permissions, Notifications & Items
      • Item Support
    • Police Shields
      • Using the resource
      • Permissions, Notifications & Items
      • Item Support
    • Rope Rescue Tripod & Basket
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Rescue Cushion
      • Using the resource
      • Permissions, Notifications & Items
      • Other Integrations
    • Smart Speed Signs
      • Configuring the resource
      • Adding new locations
    • Smart Airbags
      • Using this resource
      • Permissions & Notifications
    • Smart Bollards
      • Installation Video
      • Configuring the resource
      • Setting up a new set
    • Smart Clamp
      • Permissions, Notifications and Items
      • Item Support
      • Exports and Events
    • Smart Defib
      • Using the resource
      • Defib locations
      • Framework support
      • Setting up blips
      • Chance of success
      • Sound settings
      • Keybind configuration
      • Automatic reset
      • Custom Death Scripts
      • OX_Inventory Integration
      • Other Integrations
    • Smart Drone
      • Using the resource
      • Permission Checks, Notifications & Items
      • Keybinds
      • Item Support
      • Other Integrations
    • Smart Fires
      • Installation Video
      • Putting out fires
      • Fire Alerts
      • Remove Fires Automatically
      • Custom Notifications
      • Automatic Fires
        • Enabling automatic fires
        • Job / Permission Check
        • Adding locations
        • Automatic Fire Chances
        • Other automatic fire settings
      • Commands
      • Command permission checks
      • Editing fire types
      • Editing smoke types
      • Misc configuration values
      • Setting up weapons
      • Area of patrol settings
      • Clock on system
      • Lighter Item & Command
      • Server exports and events
      • Discord logging
      • Society Payments
    • Smart Hose [v2]
      • Using the resource
      • Configuring Smart Hose
    • Smart Matrix
      • Install & Configuration Video
      • OX_Inventory Integration
      • Other Integrations
    • Smart Motorways
      • Using the resource
      • Configuring the resource
    • Smart Signs
      • Configuring the resource
      • Configuring the permissions
    • Smart Speed Cameras
      • Configuring the resource
      • Adding new cameras
    • Smart Taser
      • Using the resource
      • Configuration
      • OX_Inventory Integration
      • Other Integrations
    • Smart Vehicle
      • Compatible Vehicles
      • Free Developer Copy
      • Permission Checks
      • Using a Smart Vehicle
      • Informations for Developers
      • Vehicle Control Menus
    • Police Tracker
      • Setting up vehicles
      • Resource Configuration & Usage
      • Item Support
    • Throw Bag
      • Resource Usage
      • OX_Inventory Integration
      • Other Integrations
    • Vehicle Rescue
      • Using the Resource
      • Permissions, Notifications & Items
      • Copy of Item Support
    • Water Monitor
      • Using the resource
      • Copy of Permissions, Notifications & Items
      • Copy of Item Support
    • Weapon Lanyard
      • Setting up weapons
      • Using the resource
      • Setting up clothing / EUP
Powered by GitBook
On this page
  • Alert Types
  • In Game Alerts
  • Blips and Waypoints
  • CDispatch
  • Core Dispatch
  • RCore Dispatch
  • Quasar Dispatch
  • Sonoran CAD
  • PS Dispatch
  • Inferno Pager
  • Nights Software MDT
  • CodeM Dispatch

Was this helpful?

  1. Resources
  2. Smart Fires

Fire Alerts

We've added alerts for Automatic Fires, Manual Fires and Explosion based fires within Smart Fires. To start configuring this, head to the fireAlerts section of the config.lua file.

fireAlerts = {

Alert Types

The alert types section of the config.lua file allows you to configure which type of fires your players will receive notifications for:

alertTypes = {
            automaticFires = true,
            manualFires = true,
            explosionFires = true,
        },

By default, this is enabled for automatic fires, manual fires and explosion based fires.

In Game Alerts

Along with blips and waypoints, this is the default way of receiving notifications for automatic fires.

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",
            }
        },

By default, this is configured to use a sound along with a notification above the minimap. You may want to disable/change this if you are using an alternative notification method.

Blips and Waypoints

Blips and waypoints are the default way of receiving notifications for automatic fires.

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,
},

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.

Blips and rotues will only be visible to those that are using the specified job/permission within the main section (if this is configured). 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.

CDispatch

This allows you to configure integration with CDispatch.

cdDispatch = {
            enabled = true,
            jobs = {'safr'},
            title = 'Smart Fires',
        },

Core Dispatch

This allows you to configure integration with Core Dispatch.

coreDispatch = {
            enabled = false,
            code = "20-12",
            jobs = {'police'},
            notificationTime = 3000,
            blipSprite = 11,
            blipColour = 5,
            priority = true,
        },

RCore Dispatch

This allows you to configure integration with RCore Dispatch

rcoreDispatch = {
            enabled = false,
            resourceName = "rcore_dispatch",
            jobs = {'police'},
            priority = "high",
            displayCode = "10-420",
            alertType = 'alerts',
            blipName = "New Fire",
            radius = 0,
            blipTime = 5, -- Time in seconds before the blip fades
            blipSprite = 436,
            blipColour = 1,
            blipScale = 1.5,
            blipLength = 3,
            blipflash = true,
            imageUrl = '', -- Insert your image URL here
            soundUrl = '' -- Insert your sound URL here
        },

Quasar Dispatch

This allows you to configure integration with Quasar Dispatch

qsDispatch = {
            enabled = false,
            resourceName = "qs-dispatch",
            jobs = {'fire', 'police'},
            callCode = {
                code = '',
                snippet = '',
            },
            message = '',
            flashes = false,
            image = 'https://dunb17ur4ymx4.cloudfront.net/webstore/logos/30cf9edc7043455c60397ba2f12e620993426e29.png', -- URL here
            blipSprite = 436,
            blipColour = 1,
            blipScale = 1.5,
            blipLength = 3,
            blipflash = true,   
            blipText = "Fire", 
            blipTime = 60000, -- Time in milliseconds before the blip fades
        },

Sonoran CAD

This allows you to configure integration with Sonoran CAD, which requires the call commands plugin to be installed on your Sonoran CAD server.

sonoranCAD = { -- This requires the call commands plugin
            enabled = false,
            title = "New Fire Alert",
        },

PS Dispatch

This allows you to configure integration with PS Dispatch

psDispatch = {
            enabled = false,
            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',
        },

Inferno Pager

This allows you to configure integration with Inferno Pager

-- This allows integration with the Inferno Pager resource
 infernoPager = {
    enabled = false,
    pagersToTrigger = {"safr"}, -- These are the pagers to trigger
},

Nights Software MDT

This allows you to configure integration with Nights Software MDT

nightsSoftwareMdt = {
            enabled = false,
            resourceName = "night_shifts",
        },

CodeM Dispatch

This allows you to configure integration with CodeM Dispatch

codeMDispatch = {
            enabled = false,
            dispatchType = "Fire",
            dispatchCode = "10-4",
            dispatchJobs = {"fire", "firefighter"},
        },

PreviousPutting out firesNextRemove Fires Automatically

Last updated 4 months ago

Was this helpful?

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

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 . Please ensure a valid colour is used.

here
here