> For the complete documentation index, see [llms.txt](https://mango-5m.gitbook.io/mango5m-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mango-5m.gitbook.io/mango5m-docs/resources/mango-dispatch/reference/commands.md).

# Commands

Every command and key in the resource.

### Player commands

| Command          | Who can use it | Does                                                                 |
| ---------------- | -------------- | -------------------------------------------------------------------- |
| `/911 <message>` | Anyone         | Reports an emergency to dispatch. Configurable name, can be disabled |
| `/dispatchhud`   | Anyone         | Opens the layout editor to move the alert stack and call window      |

### Keys

| Key           | Action                                       |
| ------------- | -------------------------------------------- |
| `F7`          | Toggle the quick call window                 |
| `Y`           | Respond to the alert or the highlighted call |
| `N`           | Dismiss the alert, or cancel your response   |
| `Backspace`   | Code 4 - clear the call you are on           |
| `Tab`         | Take Primary                                 |
| `Up` / `Down` | Move the highlight in the window             |

All remappable in `config/config.lua` and in FiveM's own key bindings menu. See [Keybinds](/mango5m-docs/resources/mango-dispatch/configuration/keybinds.md).

### The commands behind the keys

Every key maps to a command, so they can be rebound by players or triggered from another resource:

`mango_dispatch_window` · `mango_dispatch_accept` · `mango_dispatch_decline` · `mango_dispatch_code4` · `mango_dispatch_take_primary` · `mango_dispatch_focus_up` · `mango_dispatch_focus_down`

### Console commands

| Command                  | Where                   | Does                                                                                    |
| ------------------------ | ----------------------- | --------------------------------------------------------------------------------------- |
| `mango_dispatch_bridges` | **Server console only** | Prints which framework and notification providers resolved, and what else was available |

It is deliberately console-only - a player typing it gets nothing.

### Browser preview

Not a command, but the fastest way to iterate on the UI: open `web/preview.html` in any browser to see the alert card and the call window with sample data. `mdTest()` in the console re-renders it. See [Styling the UI](/mango5m-docs/resources/mango-dispatch/reference/styling-the-ui.md).
