Skip to content

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.

EntryReceivesReturns
announcetext, 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.

editable/client.lua
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,
}