addTextComponentSubstringTextLabel
ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL0xC63CD5D2920ACBE7The 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.
addTextComponentSubstringTextLabel(labelName: string): voidaddTextComponentSubstringTextLabel(labelName: string)Usage
JavaScript
addTextComponentSubstringTextLabel(labelName);Lua
addTextComponentSubstringTextLabel(labelName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
labelName | string | string | string |
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