Integrations overview
Other resources on the game server can read the radio system, react to it and control it:
- The player-side API (client exports and events) covers one player’s own radio, for HUDs, animations and similar scripts.
- The server-side API (server exports and events) covers the whole radio system: every connected radio, calls and emergencies, plus dispatch actions such as acknowledging emergencies, alert tones and moving radios to a talkgroup. It suits CAD/MDT resources, panic blips and duty scripts.
- The web API (REST, a live event stream and webhooks) offers the same system view and dispatch actions to software outside the game server: web CAD/MDT systems, Discord bots, dashboards. It’s available on plans that include it.
Which one to use
Section titled “Which one to use”| You’re building | Use |
|---|---|
| A HUD, a radio animation, a panic button on the player’s keyboard | Player-side API |
| A FiveM CAD/MDT resource, duty scripts, panic blips, a medic bag that charges radios | Server-side API |
| A web CAD, a Discord bot, a status dashboard, anything not running on the game server | Web API |
All three see the same radio system, so you can mix them: for example, a HUD resource on the player API alongside a web CAD using the web API. Actions taken through the server-side and web APIs are recorded in the audit log.
The examples assume the resource folder is named meridian. If you renamed it, use your name in exports.<name>
and in the event names (<name>:talkgroupChanged and so on).
