addTextComponentFloat
ADD_TEXT_COMPONENT_FLOAT0xE7DCB5B874BCD96EThe GTA V native ADD_TEXT_COMPONENT_FLOAT of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentFloat, in JavaScript and in Lua.
addTextComponentFloat(value: number, decimalPlaces: number): voidaddTextComponentFloat(value: number, decimalPlaces: integer)Usage
JavaScript
addTextComponentFloat(value, decimalPlaces);Lua
addTextComponentFloat(value, decimalPlaces)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
value | float | number | number |
decimalPlaces | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void ADD_TEXT_COMPONENT_FLOAT(float value, int decimalPlaces)- Hash
0xE7DCB5B874BCD96E