Skip to main content

SendNotificationToPlayer

Creates and sends a Notification to an specified player.

C#​

bool NAPI.Notification.SendNotificationToPlayer(Player player, string message, bool flashing = false);

Parameters​

  • player: The player receiving the Notification.
  • message: The message of the Notification to send.
  • flashing: Whether the Notification will be flashing or not, defaults to false.

Example​

// Code here...