SendPictureNotificationToAll

From RAGE Multiplayer Wiki

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


C# Syntax

bool NAPI.Notification.SendNotificationToPlayer(string body, string pic, int flash, int iconType, string sender, string subject);

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

// Code here...