SetTextLabelText

From GTA Network Wiki
Jump to: navigation, search

SetTextLabelText
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sets the text of a TextLabel created with CreateTextLabel.

Syntax

void NAPI.TextLabel.SetTextLabelText(TextLabel label, string newText);

Required Arguments

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

Usage example(s)

Example Description

NAPI.TextLabel.SetTextLabelText(label, newText);

Changelog

Version Description
1.0 Release.

References