HUDClient

addTextComponentSubstringTextLabel

ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL0xC63CD5D2920ACBE7

The GTA V native ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentSubstringTextLabel, in JavaScript and in Lua.

SignatureJavaScript
addTextComponentSubstringTextLabel(labelName: string): void
SignatureLua
addTextComponentSubstringTextLabel(labelName: string)

Usage

JavaScript
addTextComponentSubstringTextLabel(labelName);
Lua
addTextComponentSubstringTextLabel(labelName)

Parameters

ParameterTypeJavaScriptLua
labelNamestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL(const char* labelName)
Hash
0xC63CD5D2920ACBE7
Formerly
_ADD_TEXT_COMPONENT_ITEM_STRING

Open in the interactive natives reference