Skip to main content

Types

Indicator

FieldTypeDescriptionRequired
textstringText to show
keysstring | string[]Key list to show
keystringKey to show
iconstringFont 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