ShowShard

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

Client-side Function Description

Dialog-warning.png API.showShard() will be removed in version 0.1.7, see Deprecated.

Syntax

API.showShard(string text);
API.showShard(string text, int timeout);

Required Arguments

  • text: parameter input should be in string type.

Optional Arguments

  • timeout: parameter input should be in int type. Default value: 5 seconds (5000 ms)

Usage example(s)

API.showShard(text, 3000);

References