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

SendNotificationToAll

Материал из RAGE MP Wiki Archive
Версия от 08:40, 29 ноября 2019; imported>Xabi (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...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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


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

Parameters

  • 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>