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

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

exports["no-alerts"]:CloseIndicator() -- Hides single indicator
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

Last updated