addTextComponentSubstringTime
ADD_TEXT_COMPONENT_SUBSTRING_TIME0x1115F16B8AB9E8BFThe GTA V native ADD_TEXT_COMPONENT_SUBSTRING_TIME of the HUD namespace, as LS:MP client scripts call it: the global function addTextComponentSubstringTime, in JavaScript and in Lua.
addTextComponentSubstringTime(timestamp: number, flags: number): voidaddTextComponentSubstringTime(timestamp: integer, flags: integer)Usage
JavaScript
addTextComponentSubstringTime(timestamp, flags);Lua
addTextComponentSubstringTime(timestamp, flags)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
timestamp | int | number | integer |
flags | int | 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.
Adds a timer (e.g. "00:00:00:000"). The appearance of the timer depends on the flags, which needs more research.
Reference
- Namespace
- HUD HUD
- In the game
void ADD_TEXT_COMPONENT_SUBSTRING_TIME(int timestamp, int flags)- Hash
0x1115F16B8AB9E8BF