Announcements
Staff announcements appear as the Fiveops card at the top of the screen. To use your own notification script
instead, fill in announce in editable/client.lua.
| Entry | Receives | Returns |
|---|---|---|
announce | text, from (sender or nil), info = { title, style, seconds } | true if shown, false to show the Fiveops card |
style is announce, info, event, warning or urgent.
EditableClient.announce = { custom = true, fn = function(text, from, info) exports['my_notify']:Alert(info.title or 'Announcement', text, info.seconds * 1000, 'info') return true end,}