clearAdditionalText
CLEAR_ADDITIONAL_TEXT0x2A179DF17CCF04CDThe GTA V native CLEAR_ADDITIONAL_TEXT of the HUD namespace, as LS:MP client scripts call it: the global function clearAdditionalText, in JavaScript and in Lua.
clearAdditionalText(p0: number, p1: boolean): voidclearAdditionalText(p0: integer, p1: boolean)Usage
JavaScript
clearAdditionalText(p0, p1);Lua
clearAdditionalText(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | int | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
On LS:MP
ℹ
Checked by LS:MP
p0 must be between 0 and 21. Otherwise the call is ignored: nothing reaches the game, and no error is raised.
Reference
- Namespace
- HUD HUD
- In the game
void CLEAR_ADDITIONAL_TEXT(int p0, BOOL p1)- Hash
0x2A179DF17CCF04CD