ShowColoredShard

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

Shows a colored shard

ColoredShard.jpg







Syntax

API.showColoredShard(string message, string description, int textColor, int bgColor, int time = 5000);

Required Arguments

  • message: parameter input should be in string type.
  • descripton: parameter input should be in string type.
  • textColor parameter input should be in int type. (Color List)
  • bgColor: parameter input should be in int type. (Color List)

Optional Arguments

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

Usage example(s)

API.showColoredShard("Title", "Description", 1, 2, 3000);

References