addTextComponentFormattedInteger
ADD_TEXT_COMPONENT_FORMATTED_INTEGER0x0E4C749FF9DE9CC4The GTA V native ADD_TEXT_COMPONENT_FORMATTED_INTEGER of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentFormattedInteger, in JavaScript and in Lua.
addTextComponentFormattedInteger(value: number, commaSeparated: boolean): voidaddTextComponentFormattedInteger(value: integer, commaSeparated: boolean)Usage
JavaScript
addTextComponentFormattedInteger(value, commaSeparated);Lua
addTextComponentFormattedInteger(value, commaSeparated)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
value | int | number | integer |
commaSeparated | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void ADD_TEXT_COMPONENT_FORMATTED_INTEGER(int value, BOOL commaSeparated)- Hash
0x0E4C749FF9DE9CC4