addTextComponentSubstringPlayerName
ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME0x6C188BE134E074AAThe GTA V native ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentSubstringPlayerName, in JavaScript and in Lua.
addTextComponentSubstringPlayerName(text: string): voidaddTextComponentSubstringPlayerName(text: string)Usage
JavaScript
addTextComponentSubstringPlayerName(text);Lua
addTextComponentSubstringPlayerName(text)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
text | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(const char* text)- Hash
0x6C188BE134E074AA- Formerly
_ADD_TEXT_COMPONENT_STRING