> 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_police/integrations/textui.md).

# TextUI

The TextUI bridge is used for on-screen key-press prompts (e.g. interaction hints).

## 🔎 Auto Detection

```lua
Config.TextUI = AUTO_DETECT
```

Auto-detection priority (first match wins): `RCORE` → `QBCORE` → `ESX` → `OX`.

Override with the matching constant if detection picks the wrong one:

| Constant        | Resource                  |
| --------------- | ------------------------- |
| `TextUI.RCORE`  | `rcore_police`            |
| `TextUI.QBCORE` | `qb-core`                 |
| `TextUI.ESX`    | `esx_textui`              |
| `TextUI.OX`     | `ox_lib`                  |
| `TextUI.NONE`   | No TextUI resource found. |
