The Announce command shows a notice with the given text to every player on the server.

Summary

Methods

Shows the text to every player as a notification, labeled as an announcement.

Methods

CMD:on_run(actor, text)

shared plugins/admin/plugin/commands/sh_announce.lua:15

Shows the text to every player as a notification, labeled as an announcement.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • text String the announcement, as it was typed

Defined in