Skip to main content

Types

Notification

FieldTypeDescriptionRequired
textstringText to show
leftIconstring | string[]Font Awesome Icon
rightIconstringFont Awesome Icon
colorstringColor hex code
timeoutnumberRemove timeout

Examples

TriggerEvent("no-alerts:notification", {
    text = "You've entered the danger zone",
    leftIcon = "radiation"
})
exports["no-alerts"]:SendNotification("You left the danger zone", "radiation", "#F92F04")