Configuration & Callouts
The configuration files and how to create your own callouts.
Configuration Setup
Section titled “Configuration Setup”Required Tools
Section titled “Required Tools”Configuration Files
Section titled “Configuration Files”| File | Purpose |
|---|---|
night_ers/config/config.lua |
Main configuration |
night_ers/config/gear-config.lua |
Weapons and clothing |
night_ers/config/impound-config.lua |
Impound settings |
night_ers/config/leaderboard-config.lua |
Leaderboard settings |
night_ers/config/npcbackup-config.lua |
NPC Backup settings |
night_ers/config/persistententity-config.lua |
NPC personal data settings |
night_ers/config/pullover-config.lua |
Traffic stop settings |
night_ers/config/pursuit-config.lua |
Pursuit settings |
night_ers/config/questioning-config.lua |
NPC questioning settings |
night_ers/config/sound-config.lua |
Sound & Voice over settings |
night_ers/config/spikestrip-config.lua |
Spikestrip settings |
night_ers/config/stretcher-config.lua |
Stretcher settings |
night_ers/config/vehinteractions-config.lua |
Vehicle search settings |
night_ers/client/c_functions.lua |
Client-side functions / events |
night_ers/server/s_functions.lua |
Server-side functions / events |
Players manage their own stats privacy (opt out of tracking / enable public stats) in the ERS Discord with /ers-stats [me/server] after linking Discord in FiveM. While opted out, ERS does not send shift stats and /ersprogression shows an opt-out notice instead of XP.
Configuration Process
Section titled “Configuration Process”- Open VS Code and navigate to the config files Download Visual Studio Code
- Read thoroughly - each line has explanatory comments
- Configure in order - work from top to bottom
- Watch for notes - important warnings are clearly marked
- Test frequently - use F8 console and server console for error checking
Creating Custom Callouts
Section titled “Creating Custom Callouts”Overview
Section titled “Overview”ERS includes open-source callout scripts in night_ers/callouts/plugins/*.lua. You can add, remove, or edit callouts using built-in ERS functions.
Callout Creator Pack
Section titled “Callout Creator Pack”Development Process
Section titled “Development Process”- Copy Template: Use existing callout file from
night_ers/callouts/plugins/ - Rename File: Use your desired callout name
- Modify Code: Adjust config, client, and server sections
- Test Thoroughly: Restart script and test with
/requestcallout