SendNotificationToAll

From RAGE Multiplayer Wiki
Revision as of 08:40, 29 November 2019 by Xabi (talk | contribs) (Created page with "Creates and sends a Notification to all the players in the server. {{CSharpContainer| {{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Notification.SendNo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates and sends a Notification to all the players in the server.


C# Syntax

bool NAPI.Notification.SendNotificationToAll(string message, bool flashing = false);

Parameters

  • message: The message of the Notification to send.
  • flashing: Whether the Notification will be flashing or not, defaults to false.


Example

// Code here...