SendNotification

From GT-MP
Jump to: navigation, search
SendNotification
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sends a notification

Syntax

In Javascript
Client-Side Function

API.sendNotification(string text, bool flashing = false);

Required Arguments

  • text: parameter input should be in string type.

Optional Arguments

  • flashing: parameter input should be in bool type.
    • This parameter will be available in version 0.1.7.

Usage example(s)

In Javascript
Client-Side Function

API.sendNotification(string text);

References