addTextComponentSubstringTextLabelHashKey
ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL_HASH_KEY0x17299B63C7683A2BThe GTA V native ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL_HASH_KEY of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentSubstringTextLabelHashKey, in JavaScript and in Lua.
addTextComponentSubstringTextLabelHashKey(gxtEntryHash: Hash): voidaddTextComponentSubstringTextLabelHashKey(gxtEntryHash: Hash)Usage
JavaScript
addTextComponentSubstringTextLabelHashKey(gxtEntryHash);Lua
addTextComponentSubstringTextLabelHashKey(gxtEntryHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
gxtEntryHash | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
It adds the localized text of the specified GXT entry name. Eg. if the argument is getHashKey("ES_HELP"), adds "Continue". Just uses a text labels hash key
Reference
- Namespace
- HUD HUD
- In the game
void ADD_TEXT_COMPONENT_SUBSTRING_TEXT_LABEL_HASH_KEY(Hash gxtEntryHash)- Hash
0x17299B63C7683A2B