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

SendPictureNotificationToAll

Материал из RAGE MP Wiki Archive
Версия от 08:44, 29 ноября 2019; imported>Xabi (Created page with "Creates and sends a Notification with a picture and some extra information to all the players in the server. {{CSharpContainer| {{#tag:syntaxhighlight|bool {{Template:CSharp...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Creates and sends a Notification with a picture and some extra information to all the players in the server.


<syntaxhighlight lang="csharp">bool NAPI.Notification.SendNotificationToPlayer(string body, string pic, int flash, int iconType, string sender, string subject);</syntaxhighlight>

Parameters

  • body: The main message of the Notification.
  • pic: The string of the game picture that will be sent in the Notification.
  • flash: Whether the Notification will be flashing or not, should be 0 or 1 values.
  • iconType: The type of the icon attached into the Notification.
  • sender: The name of the person sending the Notification.
  • subject: The title of the Notification.


Example

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