SendNotificationToPlayer

From RAGE Multiplayer Wiki
Revision as of 08:41, 29 November 2019 by Xabi (talk | contribs) (Created page with "Creates and sends a Notification to an specified player. {{CSharpContainer| {{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Notification.SendNotification...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates and sends a Notification to an specified player.


C# Syntax

bool NAPI.Notification.SendNotificationToPlayer(Client player, string message, bool flashing = false);

Parameters

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


Example

// Code here...