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

SendNotificationToPlayer

Материал из RAGE MP Wiki Archive
Версия от 19:43, 22 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>