SendNotificationToAll

From GT-MP
Jump to: navigation, search
SendNotificationToAll
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Sends a Notification message to all Player.

Syntax

API.sendNotificationToAll(string message, bool flashing = false);

Required Arguments

  • string: parameter input should be in object type.

Optional Arguments

  • flashing: parameter input should be in bool type, default value: False.

Usage examples

   API.sendNotificationToAll("Notification Example!");
   API.sendNotificationToAll("Notification Example!", flashing = true);

References