# Call Commands

<figure><img src="/files/oaRvKPAtrKBRa437zIDX" alt=""><figcaption></figcaption></figure>

## Activation Guide

### 1. Download and Install the Resource

{% hint style="info" %}
This submodule is already **enabled by default** when installing the [Sonoran CAD FiveM resource](/cad/integration-plugins/in-game-integration/fivem-installation.md).

\
The [locations submodule](/cad/integration-plugins/in-game-integration/available-plugins/locations.md) includes required logic to send location data and is **already enabled by default**. Keep this submodule enabled to maintain functionality.

\
The [postals submodule](/cad/integration-plugins/in-game-integration/available-plugins/postals.md) is optional and also enabled by default. Keep this submodule enabled if you wish to include postal code information with emergency calls.
{% endhint %}

### 2. Adjust the Configuration

The CAD display settings are stored inside of the `/configuration/callcommands_config.lua` file.

{% hint style="info" %}
Call Commands no longer has a per-submodule notification selector. Caller notifications now use the shared FiveM notification system configured in `/configuration/config.json` with `notificationSystem`.
{% endhint %}

### 3. Ensure Players are Linked

Ensure the player has already [linked their CAD](/cad/integration-plugins/in-game-integration/link-user-in-game.md) for this integration's panic feature to work.

## Usage

### Commands

In-game commands can be used to

* `/panic` Toggles your unit's panic status
* `/911` Sends a 911 call to the CAD
* `/511` Sends a 511 call to the CAD (Civil)
* `/311` Sends a non-emergency call to the CAD (Civil)

<figure><img src="/files/DcjdNKLGxJX8Do1njHr5" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Bxw2gd9Jb7wmzxDgcEmN" alt=""><figcaption></figcaption></figure>

### Key Binds

Users can customize a keybind to toggle their panic status.

Navigate to **Settings** > **Keybinds** > **FiveM** and look for the **Panic Button** keybind under the resource `sonorancad`.

<figure><img src="/files/ysMFiKwd5onGJGuLr9wa" alt=""><figcaption></figcaption></figure>

### Call Location

By default, calls responded to via the `/rcall` command located in [Dispatch Notify](/cad/integration-plugins/in-game-integration/available-plugins/dispatch-notify.md) will attempt to be routed to the callers current location, rather than the location of the call. If you would like calls to route to the location of the original call, please set `useCallLocation` to `true`


---

# Agent Instructions: 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:

```
GET https://docs.sonoransoftware.com/cad/integration-plugins/in-game-integration/available-plugins/call-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
