> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nonefivem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Indicator Usage

## Types

### Indicator

| Field | Type                | Description       | Required |
| ----- | ------------------- | ----------------- | -------- |
| text  | string              | Text to show      | ✓        |
| keys  | string \| string\[] | Key list to show  |          |
| key   | string              | Key to show       |          |
| icon  | string              | Font Awesome Icon |          |

***

## Examples

```lua theme={null}
exports["no-alerts"]:SetIndicator({ -- Shows single indicator
    text = "Enter",
    key = "E",
    icon = "door-open"
})
exports["no-alerts"]:CloseIndicator() -- Hides single indicator
```

```lua theme={null}
exports["no-alerts"]:SetIndicators({ -- Shows indicator group
    {
        text = "Current Bet: 500",
        icon = "coins"
    },
    {
        text = "Change Bet",
        -- You can pass icon as a key by adding icon:: before the icon's name
        keys = {"icon::arrow-left", "icon::arrow-right"},
        icon = "money-bill-transfer"
    },
    {
        text = "Leave",
        key = "F",
        icon = "door-open"
    }
})
exports["no-alerts"]:CloseIndicators() -- Hides indicator group
```
