SetTextLabelText

From GT-MP
Jump to: navigation, search
SetTextLabelText
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Sets the text of a TextLabel created with createTextLabel.

Syntax

API.setTextLabelText(NetHandle label, string newText);

Required Arguments

  • label: parameter input should be in NetHandle type.
  • newText: parameter input should be in string type.

Usage example(s)

Example Description

API.setTextLabelText(NetHandle label, string newText);

References