# Events & Commands

{% hint style="warning" %}
All exports listed are CLIENT only unless specified
{% endhint %}

### sendDispatchAlert <a href="#item-info" id="item-info"></a>

This export allows you to do send custom dispatch alerts to our distpach system e.g ( bank robberies, shops robberies etc.. )

### How to use:

> **ARGS**:&#x20;
>
> **type** - "robbery", "carjacking", "fight", "firearm", "officerdown", "officer\_backup"\
> **title** - Your dispatch tittle\
> **description** - Your dispatch description\
> **urgency** - "urgent", "danger", "normal"\
> **coords** - vector3 coordinates

**Example:**

```lua
exports['jpr-mdtsystem']:sendDispatchAlert("robbery", "MY DISPATCH", "DISPATCH MESSAGE", "normal", GetEntityCoords(PlayerPedId()))
```



