SendNotificationToPlayer: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Creates and sends a Notification to an specified player. {{CSharpContainer| {{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Notification.SendNotification...")
 
No edit summary
 
Line 3: Line 3:


{{CSharpContainer|
{{CSharpContainer|
{{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Notification.SendNotificationToPlayer(Client player, string message, bool flashing = false);|lang=csharp}}
{{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Notification.SendNotificationToPlayer(Player player, string message, bool flashing = false);|lang=csharp}}


{{Parameters}}
{{Parameters}}

Latest revision as of 19:43, 22 December 2022

Creates and sends a Notification to an specified player.


C# Syntax

bool NAPI.Notification.SendNotificationToPlayer(Player 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...