GetGameText

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

Gets a text from the game's string table.


Syntax

API.getGameText(string name);

Required Arguments

  • name: parameter input should be in string type.

NOTE: This function returns data in string type.

Usage example(s)

API.sendChatMessage("Text: ~b~" + API.getGameText("CLO_BBF_U_1_2"));

References