SendPictureNotificationToPlayer: Difference between revisions
(Created page with "Creates and sends a Notification with a picture and some extra information to an specified player. {{CSharpContainer| {{#tag:syntaxhighlight|bool {{Template:CSharp_Serversid...") |
No edit summary |
||
| Line 3: | Line 3: | ||
{{CSharpContainer| | {{CSharpContainer| | ||
{{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Notification.SendPictureNotificationToPlayer( | {{#tag:syntaxhighlight|bool {{Template:CSharp_Serverside_namespace}}Notification.SendPictureNotificationToPlayer(Player player, string body, string pic, int flash, int iconType, string sender, string subject);|lang=csharp}} | ||
{{Parameters}} | {{Parameters}} | ||
Latest revision as of 19:43, 22 December 2022
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...