LogoLogo
SupportServer Hosting
  • Sonoran CAD
  • 📱Download The App
    • Steam Browser - Workaround
    • Web Browser - Clear Cache
    • Desktop App - Clear Cache
    • GTA RP Tablet - Clear Cache
    • Steam Browser - Clear Cache
  • Why Choose Sonoran CAD?
    • 🏆Why Choose Sonoran CAD?
  • Other Products
    • 🖥️FiveM Hosting
    • 📝Sonoran CMS
    • 📡Sonoran Radio
  • Tutorials
    • Getting Started
      • Registering Your Account
      • Registering Your Community
      • Inviting Users to Your CAD
      • Granting Account Permissions
      • View Your Limits
      • Community ID and API Keys
      • Troubleshooting
    • Customization
      • Custom Domain & Login Page
      • Customizing Your Layout
      • Community Branding and Settings
      • Creating Custom Record and Report Types
      • Sharing Custom Records
      • Custom Search Types
      • Geographical Settings
      • Penal Codes
      • 10-Codes
      • Addresses and Street Names
      • Unit Status Codes
      • Tone Board
      • Custom Audio Notifications
      • Custom Emails
      • Quick Links
      • Custom Page Colors
      • User Account Restrictions
      • Configuring Multiple Servers
      • Advanced Query Strings
    • Dispatching
      • Creating a Call
      • Self Dispatch
      • Timers
      • Command Line Interface (CLI)
    • Records Management
      • Record Lookups
      • Adding a Record
      • PDF Records
      • Scene Diagram Builder
    • Administration
      • System Logs
      • Remove User Account
      • Deleting or Transferring your CAD
    • Other Features
      • Configurable Hotkeys
      • Voice Commands
      • Volume and Language
  • Integration Capabilities
    • 🗃️Paid Integration Resources
      • Mobile Command Center
      • ATM Robbery
      • In-Vehicle Radar
      • Evidence Camera
      • Power Grid
      • Speed Cameras
      • Shot Spotter
    • 🛠️Integrated Vendors
    • 📺Twitch Bodycam, Bot, & Lighting Integration
    • Database Sync and Merge
      • Database Sync Credentials
      • QB Core Mapping Tutorial
      • Troubleshooting
    • Discord Bot Integration
    • Discord Rich Presence
    • Discord Webhooks
    • TeamSpeak 3 Integration
    • Stream Deck Integration
    • 🎮FiveM
      • FiveM Installation
        • Submodule Configuration
          • Submodule Troubleshooting
          • Submodule Configuration Updates
        • FiveM Submodules
          • Body Camera
          • Call Commands
          • Check API ID
          • Civilian Integration
          • Dispatch Notify
          • Emergency Response Simulator (ERS)
          • Framework Support (ESX/QBCore) and Auto Fines
          • FivePD
          • ForceReg
          • Kick
          • Locations
          • Live Map
          • Lookups
          • Postals
          • Smart Signs
          • Sonoran Radio (sonrad)
          • Station Alert
          • Tablet & Mini-CAD
          • TeamSpeak 3
          • Traffic Stop
          • Unit Status
          • VehReg
          • WraithV2
      • FiveM Development Documentation
        • Client Functions
        • Shared Functions
        • Server Functions
        • Server Events
        • HTTP Request Handling
      • Error Codes
    • 🎮Roblox ER:LC
  • Developer API Documentation
    • 📖API Integration
      • Getting Started
        • Retrieving Your Credentials
        • Integration API ID
        • Account Secret ID
      • Push Events
        • Event Restrictions
        • Record Events
          • Record Added
          • Record Edited
          • Record Removed
        • Unit Events
          • Unit Panic
          • Unit Login
          • Unit Logoff
          • Unit Status Update
          • Unit Group Name Change
          • Unit Group Add
          • Unit Group Remove
        • Dispatch Events
          • New Dispatch
          • Modified Dispatch
          • Closed Dispatch
          • Dispatch Note
          • Attach Unit
          • Detach Unit
          • Toggle Bodycam
        • Event 911
        • Remove 911
        • Sign Updated
        • Tone Played
        • Civilian
          • Character Selected
        • ERS
          • New Callout
        • Station Alert
          • New Station Alert
      • API Endpoints
        • API Restrictions
        • Emergency
          • Identifiers
            • Get Identifiers
            • Modify Identifier
            • Set Identifier
            • Unit Panic
            • Kick Unit
            • Unit Status
            • Get Active Units
            • Update Unit Location
          • Dispatch and Emergency Calls
            • Get Calls
            • New Dispatch
            • Attach Unit
            • Detach Unit
            • Update Call Postal
            • Add Call Note
            • Update Call Primary
            • Close Dispatch
            • New 911 Call
            • Remove 911
          • Custom Blips
            • Get Map Blips
            • Add Blip
            • Modify Blip
            • Remove Blip
          • Street Signs
            • Set Street Sign Config
            • Update Street Sign
          • ERS
            • Set Available Callouts
          • Station Alert
            • Set Stations
        • Civilian
          • Set Character
          • Get Characters
          • New Character
          • Edit Character
          • Remove Character
          • DB Sync: Get Character Links
          • DB Sync: Link Character
        • General
          • Get Servers
          • Set Servers
          • Get Version
          • Set Penal Codes
          • Set API IDs
          • Custom Records
            • API Options for Adding and Modifying Records
            • Get Record Templates
            • New Record
            • Edit Record
            • Remove Record
          • Lookup By Value
          • Lookup Name or Plate
          • Get Account
          • Get Accounts
          • Check API ID
          • Apply Permission Key
          • Modify Account Permissions
          • Kick or Ban User
          • Verify Secret
          • Auth Street Signs
          • Set Postal Config
          • Set Clock Time
          • Send Photo
          • Leave Community
          • Join Community
        • Local Endpoints
          • Smart Lighting
        • Internal
          • FiveM Download
      • API Examples
        • Emergency
          • LUA Examples
            • Dispatch and Emergency Calls
              • New 911 Call
              • Remove 911
              • Add Call Note
              • Set Call Postal
            • Custom Blips
              • Add Blip
              • Add Blips
              • Add Temp Blip
              • Get Map Blips
              • Remove Blip
              • Remove Blip With Subtype
            • General
              • Lookup Name or Plate
          • JavaScript Examples
            • Dispatch and Emergency Calls
              • New 911 Call
              • Remove 911
              • Add Call Note
              • Set Call Postal
            • Custom Blips
              • Add Blip
              • Add Blips
              • Add Temp Blip
              • Get Map Blips
              • Remove Blip
              • Remove Blip With Subtype
            • General
              • Lookup Name or Plate
      • Development Branch
    • 💵Developer Bounties
    • 🌎Translation Support
  • Pricing
    • Pricing FAQ
      • Military and First Responder Discount
      • Expert Installation
      • Accessing the Payment Center
      • Create and Manage a Subscription
      • Request Discord Role
    • View and Compare Plans
  • Roadmap
    • 📋Changelog
  • Other
    • AI QA
    • Contact Us
    • Policy
      • Rocket CAD Closure
      • Terms of Service
      • Privacy Policy
      • Refund and Purchase Policy
      • Discord Bot
    • Archive
      • Fire Siren
Powered by GitBook
On this page
  • Video Showcase
  • Installation
  • 1. Download and Install the Framework
  • 2. Download the Plugin and all Dependencies
  • 3. Install the Plugin and all Dependencies
  • 4. Add your Game Server IP and Port
  • 5. Set Your API ID
  • 6. Configuration
  • Commands
  • Configuration
  • Dispatch Call Responding
  • 1. Civilian Places a 911 Call
  • 2. Officer Attaches to the Call
  • Primary Unit Tracking (Pursuit)
  • 1. Toggle Unit Tracking for the Primary Unit
  • Troubleshooting

Was this helpful?

Edit on GitHub
  1. Roadmap
  2. v2.X.X - Legacy
  3. Available Plugins

Dispatch Notify

Notify officers of incoming calls, allow them to attach to them, notify the caller, and route units via GPS in real-time to calls and the lead pursuit officer...all in one!

Last updated 1 year ago

Was this helpful?

This plugin utilizes API endpoints that require the plus version of Sonoran CAD or higher. For more information, view our page.

Looking for VPS, web, or dedicated hosting? Check out our official !

This plugin

  • Notifies officers of incoming calls

  • Automatically routes attached units to the postal code

  • Unit GPS routing is updated whenever the dispatch postal is updated

  • Notifies the civilian making the emergency call when an officer is en-route.

Video Showcase

Check out our video showcase of this plugin .

Installation

1. Download and Install the Framework

If you haven't already, be sure to install and configure the first.

2. Download the Plugin and all Dependencies

3. Install the Plugin and all Dependencies

4. Add your Game Server IP and Port

Be sure to have your game server IP and port set in the admin panel under Advanced > In-Game Integration > Server Events and Integrated Live Map

5. Set Your API ID

6. Configuration

Review the config_dispatchnotify.lua file to configure the plugin to behave how you like. The file is well documented. Please review all the settings!

Commands

Command
Description

/rcall

Respond/Attach to the new dispatch call

/togglegps

Toggle the GPS auto-lock when dispatch updates the postal code

Configuration

Config Value
Description

enableUnitNotify

Enable incoming 911 call notifications

emergencyCallType

Specifies what emergency calls are displayed as. Some countries use different numbers (like 999)

civilCallType

Specifies non-emergency call types. If unused, set to blank ("")

dotCallType

Some communities use 511 for tow calls. Specify below, or set blank ("") to disable

respondCommandName

Command to respond to calls with

enableUnitResponse

Enable call responding (self-dispatching)

If disabled, running commandName will return an error to the unit

dispatchDisablesSelfResponse

If a dispatcher is detected to be online, automatically disable the response command.

enableCallerNotify

Enable "units are on the way" notifications

unitNotifyMethod

chat: Sends a message in chat

pnotify: Uses pNotify to show a notification

custom: Use the custom event SonoranCAD::dispatchnotify:IncomingCallNotifyinstead (Provides single parameter) - The message.

notifyMessage

NotifyMessage: Message template to use when sending to the player

You can use the following replacements:

{officer} - officer name

incomingCallMessage

How should officers be notified of a new 911 call? Parameters: {location} - location of call (street + postal) {description} - description as given by civilian {caller} - caller's name {callId} - ID of the call so LEO can respond with /r911 {command} - The command to use

unitDutyMethod

How to detect if units are online? incad: units must be logged into the CAD permissions: units must have the "sonorancad.dispatchnotify" ACE permission (see docs) esxjob: requires esxsupport plugin, use jobs instead for on duty detection custom: Use custom function (defined below as unitDutyCustom)

esxJobsAllowed

What jobs should count as being on duty?

waypointType

waypointFallbackEnabled

Fall back to postal if exact coordinates cannot be found (for self-generated calls)

callTitle

Type of waypoint to use when officer is attached Default: OFFICER RESPONSE

sendNotesToUnits

Enable "the sending of notes to units" notifications

noteNotifyMethod

chat: Sends a message in chat

pnotify: Uses pNotify to show a notification

custom: Use the custom event SonoranCAD::dispatchnotify:NewCallNoteinstead (Provides single parameter) - The message.

notifyMessage

NotifyMessage: Message template to use when sending to the player

You can use the following replacements:

{callid} - The CAD Call ID

{note} - The Note Added

enableAddNote

Enable "the adding of the notes" notifications

addNoteCommand

Command to add notes to a call with

enableAddPlate

addPlateCommand

Command to add plates to a call with

Dispatch Call Responding

1. Civilian Places a 911 Call

2. Officer Attaches to the Call

All on-duty officers get a notification (if configured) and can use the attach command to respond to the call.

A. Call Attach Command

By default, this command is /rcall <callid>, where callid is the ID shown in the call notification.

B. GPS Toggle Command

Units can optionally choose to disable the postal updating when dispatch updates the call (or primary unit tracking) by using the /togglegps command. This is a toggle and will be shown in chat what it gets changed to. This is ON by default.

Primary Unit Tracking (Pursuit)

Dispatch notify can also be used to track the primary unit on a call. This will auto route attached units via GPS to the primary unit in real-time. Additionally, the postal code on the call will be continually updated for dispatchers to easily view. This is highly useful for pursuits, where additional units need to catch up and join the chase.

1. Toggle Unit Tracking for the Primary Unit

A. Via the CAD UI:

Dispatchers can set the primary unit to any unit currently attached to the call. The slider next to the Primary Unit box will toggle tracking mode. When enabled, the postal will automatically update based on the primary unit's location and be sent to all attached units.

A unit can also designate themselves as primary, but only if Self Dispatch is enabled.

Troubleshooting

  • No notifications for 911 calls

    • Units must be logged into the CAD (by default) or meeting the requirements depending on how the plugin is configured.

    • If using pNotify notifications, ensure that resource is running.

  • Units do not automatically attach to calls

  • Caller is not notified when units attach to the call

    • If the caller ever leaves the server and rejoins, this feature does not work.

    • If dispatch created the call within the CAD, there is no way to notify a caller.

    • Ensure you are not overriding the 911 command (default /911) with another resource.

Click to download the DispatchNotify plugin .zip file.

Download and install the plugin.

(Optional) download and install the plugin.

Follow the for the dispatchnotify and callcommands plugins.

Don't forget to set your account to properly link your in-game user to the CAD.

Customise the title of a call made in the CAD postal: set gps to caller's postal (less accurate, more realistic) - REQUIRES exact: set gps to caller's position (less realistic) none: disable waypointing

Enable "the adding of plates that are locked" notifications - REQUIRES

This call can be placed from the Civilian menu of the CAD, or via the /911 command in-game, supplied by the .

Ensure their is set so the server knows who they are.

HERE
callcommands
postals
standard plugin installation guide
API ID
callcommands plugin
API ID
pricing
server hosting
here
plugin framework
Allows officers to attach to calls via command
Allows the call postal and GPS routing to be automatically updated to the primary unit's location
CONFIGURED POSTAL PLUGIN
CONFIGURED WRAITHV2 PLUGIN
Sonoran CAD - Server IP and Port
Sonoran CAD - Primary Unit
Sonoran CAD - Primary Unit