HUDClientChecked by LS:MP

clearAdditionalText

CLEAR_ADDITIONAL_TEXT0x2A179DF17CCF04CD

The 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.

SignatureJavaScript
clearAdditionalText(p0: number, p1: boolean): void
SignatureLua
clearAdditionalText(p0: integer, p1: boolean)

Usage

JavaScript
clearAdditionalText(p0, p1);
Lua
clearAdditionalText(p0, p1)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger
p1BOOLbooleanboolean

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

Open in the interactive natives reference