> For the complete documentation index, see [llms.txt](https://docs.sonoransoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonoransoftware.com/radio/game-integrations/fivem/fivem.md).

# Dispatch AI for FiveM

Set up Dispatch AI for FiveM emergency calls, GPS routing, and automatic arrival status.

Use [Dispatch AI](/radio/tutorials/usage/dispatch-ai.md) to change radio channels, manage scanned channels, set timers, and work with CAD. FiveM also supports emergency call readouts and in-game GPS routing.

## Setup

1. Complete the [common Dispatch AI setup](/radio/tutorials/usage/dispatch-ai.md#common-setup).
2. Install the [FiveM Radio resource](/radio/game-integrations/fivem/installing-the-in-game-resource.md).
3. Sign in to the in-game radio with your Sonoran account. For CAD actions, use that account in CAD or complete the in-game `/link` flow.
4. Use the wake word while transmitting, or configure the FiveM AI keybind in the radio settings.

<figure><img src="https://1542307009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCk5zoeun5gx3ujYW6eg%2Fuploads%2FlrlwZNBUNivDxO35Pu8S%2Fimage.png?alt=media&amp;token=caadc2ff-d88e-4c03-875f-5f90eff0d861" alt="FiveM Dispatch AI keybind settings"><figcaption></figcaption></figure>

## Emergency Call Readouts

1. Connect the intended CAD server in Radio's **Customization** > **Dispatch AI**.
2. Open **Customization** > **Game Integration** > **FiveM**.
3. Under **FiveM Zones**, select the **Server** running Dispatch AI, then select **Emergency Zones**.
4. Draw a zone and select it to assign the channels that should receive calls in that area.
5. Generate a 911 call in the linked CAD server with coordinates inside a zone.

Dispatch AI creates a dispatch call, removes the original 911 call, and reads it over the zone's assigned channels. Calls without coordinates or outside the zones are not read automatically.

<figure><img src="https://1542307009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfCk5zoeun5gx3ujYW6eg%2Fuploads%2Fgit-blob-cab9e91f73cb9fbb89780a2e688162804b226180%2Ffivem-emergency-zones.png?alt=media" alt="Game Integration with FiveM selected and Emergency Zones open"><figcaption></figcaption></figure>

## GPS Routing

| Destination   | Example                                   |
| ------------- | ----------------------------------------- |
| Postal code   | “Dispatch, route me to postal 123.”       |
| Dispatch call | “Dispatch, route me to the robbery call.” |
| Another unit  | “Dispatch, route me to unit B-11.”        |

Postal routing requires **Nearest Postal** or another resource supporting `/postal <id>`. Routing to a unit uses that unit's available CAD coordinates.

<details>

<summary>Automatic en-route and on-scene status</summary>

With **Nearest Postal v1.5.4 or newer**, AI GPS routing can set your CAD status to en-route and then on-scene when you arrive.

Configure `Config.autoOnSceneStatus` in the [Radio resource configuration](/radio/game-integrations/fivem/installing-the-in-game-resource.md#configuration-options).

</details>

For channel changes, timers, and current-call readbacks, see the [shared commands](/radio/tutorials/usage/dispatch-ai.md#radio-commands).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sonoransoftware.com/radio/game-integrations/fivem/fivem.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
