> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_drugs/integrations/dispatch.md).

# Dispatch

Dispatch integration is used for police alerts.

## 🚨 Supported Dispatch Resources

| Dispatch            | Config value         |
| ------------------- | -------------------- |
| `cd_dispatch`       | `Dispatch.CODESIGN`  |
| `codem-dispatch`    | `Dispatch.CODEM`     |
| `core_dispatch`     | `Dispatch.CORE`      |
| `dusa_dispatch`     | `Dispatch.DUSA`      |
| `emergencydispatch` | `Dispatch.EMERGENCY` |
| `origen_police`     | `Dispatch.ORIGEN`    |
| `qs-dispatch`       | `Dispatch.QUASAR`    |
| `rcore_dispatch`    | `Dispatch.RCORE`     |
| `tk_dispatch`       | `Dispatch.TK`        |
| No dispatch         | `Dispatch.NONE`      |

## 🔎 Auto Detection

Default setting:

```lua
Config.Dispatch = Dispatch.AUTO_DETECT
```

## 🚓 Drug Use Alerts

Drug use dispatch alerts are configured in `config.lua`:

```lua
Config.DispatchAlerts.DrugUse.Enabled = true
```

You can tune alert radius and chance by area type.
