Перейти к содержанию

SendNotificationToPlayer

Материал из RAGE MP Wiki Archive

Creates and sends a Notification to an specified player.


<syntaxhighlight lang="csharp">bool NAPI.Notification.SendNotificationToPlayer(Player player, string message, bool flashing = false);</syntaxhighlight>

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

<syntaxhighlight lang="csharp"> // Code here... </syntaxhighlight>