📞Imperial911
The Imperial911 script is an essential addition to the Imperial Duty system, providing realistic and immersive emergency dispatch functionality within the game.
Features
Emergency Dispatch: Send a
/911
emergency signal to on-duty personnel with detailed location information using the integrated "nearest-postal" script.Civilian Integration: Automatically pulls the civilian name from the CivilianInt script if set. If not available or the script isn't installed, the player's FiveM name is used.
Blip Configuration: Configure whether to show a flashing circle on the map around the postal where a 911 call originated. This is set via a blip configuration in the script's settings (
config.lua
).
Commands
/911
Sends an emergency signal to on-duty users, displaying the sender's location and name.
Prerequisites Before installing the Imperial911 script, ensure that you have the ImperialDuty script already installed and configured. You can download and set up the ImperialDuty script from its GitHub.
Installation
Follow these steps to install the Imperial911 script:
Download the Script Files Download the latest release from this repository.
Add to Your Server Resources Place the
Imperial911
folder into your server's resources directory.Community Configuration The script requires a
community ID
andAPI Secret Key
from Imperial CAD. If not already set, follow these instructions:Locate your community ID in Admin Panel > Customization > Community ID.
Add the following line to your
server.cfg
file:If your server already uses other Imperial scripts with this same configuration, you can skip this step.
Setup Postal Script The Nearest Postal script must be installed for accurate postals in the 911 dispatches. Ensure the resource name in the
config.lua
under the shared folder matches"nearest-postal"
. If using a different postal script, adjust accordingly. (!This script will not work without a valid export and function!)Blip Configuration In the
config.lua
file, adjust the blip setting:Set
Config.callBlip = true
to show a flashing circle on the map for 911 locations.Set
Config.callBlip = false
for no map blip, only 911 messages in chat.
Ensure Resources in
server.cfg
Add the following lines to yourserver.cfg
:Restart Your Server Restart your server to apply the changes.
Requirements
ImperialDuty Script: Must be installed.
CivilianInt Script: Required for CAD name integration. If not installed, the script defaults to the player's FiveM name.
Postal Script: "nearest-postal" by DevBlocky is recommended. Ensure the script is installed without the version number in its file name.
Usage Notes
The Imperial911 script should be used with the correct civilian profile active for full functionality. Without an active civilian profile or the CivilianInt script, the player's default FiveM name will be used for the 911 call.
License
This script is owned by Imperial Solutions. Unauthorized copying, distribution, or use of this script without express permission is strictly prohibited and may result in legal actions.
For further assistance, visit the Imperial Solutions Support Discord or refer to our support channels.
Last updated