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

SendNotificationToAll

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

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>