> For the complete documentation index, see [llms.txt](https://laot7490.gitbook.io/ltbridge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laot7490.gitbook.io/ltbridge/game-systems/dispatch/dispatch-data.md).

# Dispatch Data

The `data` table passed to `LT.Dispatch.Send`. Fields are normalized per provider — not every field is used by every dispatch resource.

| Field      | Type         | Required | Description                                |
| ---------- | ------------ | -------- | ------------------------------------------ |
| `message`  | string       | Yes      | Alert title / message text                 |
| `code`     | string       | No       | Dispatch code (e.g. `'10-80'`)             |
| `icon`     | string       | No       | Font Awesome icon (e.g. `'fas fa-car'`)    |
| `priority` | number       | No       | Priority level (provider-specific)         |
| `coords`   | vector3      | No       | Alert location. Defaults to player coords. |
| `jobs`     | string/table | No       | Job(s) to notify. Alias: `job`.            |
| `time`     | number       | No       | Alert duration in ms                       |
| `vehicle`  | string       | No       | Vehicle model name                         |
| `plate`    | string       | No       | Vehicle plate                              |
| `snippet`  | string       | No       | Short code description (qs-dispatch)       |
| `name`     | string       | No       | Caller name (qs-dispatch)                  |
| `blipData` | table        | No       | Map blip settings (see below)              |

## blipData fields

| Field    | Type    | Description               |
| -------- | ------- | ------------------------- |
| `sprite` | number  | Blip sprite ID            |
| `color`  | number  | Blip color ID             |
| `scale`  | number  | Blip scale                |
| `radius` | number  | Blip radius (ps-dispatch) |
| `flash`  | boolean | Flashing blip             |

## Example

```lua
LT.Dispatch.Send({
    message = 'Store robbery in progress',
    code = '10-90',
    icon = 'fas fa-mask',
    priority = 2,
    coords = vector3(100.0, 200.0, 30.0),
    jobs = { 'police', 'sheriff' },
    time = 10000,
    blipData = {
        sprite = 161,
        color = 1,
        scale = 1.0,
        radius = 50,
        flash = true,
    },
})
```

{% hint style="info" %}
`cd_dispatch` expects `blipData` to be set. Other providers use safe defaults when fields are missing.
{% endhint %}

Back to [Dispatch](/ltbridge/game-systems/dispatch.md)
