Emergency Response Simulator (ERS)

The Sonoran CAD ERS integration allows dispatchers to generate callouts from the live map, lookup character information, and more!

Sonoran CAD x ERS

What is Emergency Response Simulator?

Emergency Response Simulator is a paid, third-party script for FiveM.

This advanced (co-op) PVE roleplay game mode simulates emergency service calls, where you as emergency service worker have to respond to. Whether you are a medic, firefighter, tow service operator or police officer, there is always something to do. With finetuned callouts you’ll never get bored of driving around in your service vehicle. Rush to high-priority, dangerous calls, or handle routine tasks like warning a speeder. Each callout is unique, with random outcomes that keep you curious and engaged every time you respond to an emergency.

ERS can be purchased from Nights Software.

Activation Guide

1. Download and Install the Core

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

2. Activate the ERS Submodule

Follow the submodule activation guide to enable the ERS integration.

3. Update CAD Record Templates

The ERS submodule comes with three record templates (character, license and vehicle registration).

Importing and using these record templates will ensure ERS callout character, license, and vehicle registration records are automatically generated.

These records can be located in the /sonorancad/submodules/ersintegration/SonoranCAD Records directory.

ERS Integration - SonoranCAD Custom Records

The Civilian and Vehicle Registration are default records. If you've modified them, it's recommended to replace them with the provided versions to ensure proper data import.

To import in Sonoran CAD, navigate to Admin -> Customization -> Custom Records -> Import. Open each JSON file and copy/paste the contents into the CAD.

SonoranCAD - Import Record

Configuration

ERS Integration is highly configurable to allow for custom records and calls. All default configuration will work with the provided CAD records seamlessly. It is only recommended to edit if you are experienced with custom records.

Default Configuration

ersintegration_config.lua

Configuration Values

Default Configuration Values
Value
Type
Description

DOBFormat

string

Language code for the DOB format. Available options can be found in the configuration file

clearRecordsAfter

integer

Number of minutes to clear records after | 0 to never delete

create911Call

bool

Create a 911 call when an ERS callout is created

createEmergencyCall

bool

Create an emergency call when an ERS callout is accepted

callPriority

integer

Priority of the call created in CAD (1-3)

callCodes

array

Call codes for each ERS callout type. | Left side is the callout ID and right side is the corresponding 10 code

autoAddCall

bool

Automatically add members to the call when an ERS callout is accepted

customRecords

array

Array of record customization for CAD records. Please see comments in file for more information on record customization

Features

Live Map Callout Generation

Dispatchers can use the live map to create a new ERS callout at a specific location.

Drag-and-drop the ERS icon from the toolbar to a location on the map. Clicking the new ERS map icon will allow you customize the callout and settings.

Sonoran CAD: ERS Callout Creation

Record Lookups

When a callout is first interacted with, character, license, and vehicle records will be generated in the CAD with the information.

This allows lookups in the CAD to be ran.

Automatic Call Generation

  • When a callout is generated in-game, a 911 call will be automatically created in the CAD.

    • 911 calls generated from a callout will display with location on the live map.

  • When a callout is accepted by a unit:

    • A dispatch call is automatically generated.

    • The unit is automatically attached to the CAD dispatch call.

Limitations

Database Sync

Database Sync uses the database on your FiveM server, whereas ERS uses the CAD database to create records in the CAD. Thus, when you run a lookup with with DB sync enabled, CAD will query your server's database instead of the CAD database.

For this reason, the ERS integration and DB sync are incompatible. Please only enable one system at a time.

Last updated

Was this helpful?