ImperialCAD ERS Integration

Integration Emergency Response Simulator (ERS) Support for ImperialCAD


🛠 What is Emergency Response Simulator (ERS)?

Emergency Response Simulator (ERS) is a paid, third-party script for FiveM developed by Nights Software. ERS enables immersive AI-driven emergency roleplay, offering a variety of callouts for police, fire, EMS, and towing services. Each callout includes randomized scenarios and outcomes to provide a dynamic gameplay experience.

ERS can be purchased from Nights Software.


⚙️ Installation & Setup Guide

Step 1: Install the ImperialCAD Resource

Download and install the ImperialCAD FiveM Resource. Follow the included instructions to configure your server and connect it to your CAD account.


Step 2: Enable ERS Support in the Config

In your server’s config.lua file, set:

ERSsupport = true

Step 3: Replace ERS Client Files

Go to:

plugins/ImperialERS/Drag These Files/client/

Copy the contents into your ERS client folder, and replace the existing c_functions.lua file. This enables the ERS script to communicate with ImperialCAD.


Step 4: Enable Advanced API Usage in the CAD

  1. Log into your CAD as an admin.

  2. Navigate to Admin Panel > Settings > Plugins.

  3. Enable the toggle labeled Advanced API Usage.

This step is required for ERS to push callouts and create CAD records.


Step 5: Verify Your Account

Your CAD account must be Discord-verified to use API features. Follow this guide: 👉 Verify Your Account


✅ Features of the Integration

  • Automatic Advanced Call Generation: When an ERS callout starts in-game, a corresponding new CAD call appears in ImperialCAD while trying to auto assign the primary unit and attaching the information available from ERS.

  • Civilian and Vehicle Auto-Registration: Interacting with an AI character or vehicle during a callout will automatically create a civilian or vehicle record in the CAD using events.

  • Unit Auto-Attach: When a unit accepts an ERS callout, they are automatically attached to the dispatch call in CAD.


⚠️ Known Limitations

  • Custom ERS Versions: This integration is designed for the default ERS package. If you use a custom or modified version, further manual integration may be required.


🧪 Testing the Integration

To test your setup:

  1. Launch an ERS callout in-game.

  2. Accept the callout in-game.

  3. Interact with a pedestrian or vehicle.

  4. Check the CAD for:

    • A new call under your community.

    • A new civilian or vehicle record.

  5. Confirm your unit is automatically attached to the call in the CAD.


🚘 Troubleshooting

If the integration doesn’t appear to work:

  • Confirm ERSsupport = true is set in config.lua.

  • Double-check you replaced the correct ERS client c_functions.lua file.

  • Verify that Advanced API Usage is enabled in the Admin Panel.

  • Make sure your CAD account is Discord-verified.


💬 Support

We offer standard support for our ERS integration but if you require help with ERS itself, please contact Nights Software, the original developer.

Last updated

Was this helpful?