From DarkRP
Revision as of 18:46, 26 August 2020 by DarkRPWikiBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hook name onNotify(table plys, number msgType, number duration, string message)
Called when a notification is sent.
Returns: boolean suppress
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onNotify]onNotify hook[/url][/b]


  1. plys (table)
  2. The table recipients of the notification.

  3. msgType (number)
  4. The notification type (NOTIFY_ enum)

  5. duration (number)
  6. How long the notification should stay on screen.

  7. message (string)
  8. The message of the notification.

Return values[edit]

  1. suppress (boolean)
  2. Whether to suppress the notification. Return true to suppress.