SendPictureNotificationToPlayer

From RAGE Multiplayer Wiki
Revision as of 19:43, 22 December 2022 by Xabi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates and sends a Notification with a picture and some extra information to an specified player.


C# Syntax

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

Parameters

  • player: The player receiving the Notification.
  • 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...