Lua · Variables · Features
notify
Lines in the built-in notification feed.
| Function | What it does |
|---|---|
notify.push(text[, damage][, hp]) | Adds a line to the notification feed, in the user's chosen style. |
#notify.push
notify.push(text[, damage][, hp])Adds a line to the notification feed, in the user's chosen style.
Arguments
textstringUp to 64 characters.
damageintegeroptionalDamage number to show. Default 0 (none).
hpintegeroptionalHealth left to show. Default -1 (none).
Example
notify.push("Bomb planted on " .. e.site)