HUDClientChecked by LS:MP

hideScriptedHudComponentThisFrame

HIDE_SCRIPTED_HUD_COMPONENT_THIS_FRAME0xE374C498D8BADC14

The GTA V native HIDE_SCRIPTED_HUD_COMPONENT_THIS_FRAME of the HUD namespace, as LS:MP client scripts call it: the global function hideScriptedHudComponentThisFrame, in JavaScript and in Lua.

SignatureJavaScript
hideScriptedHudComponentThisFrame(id: number): void
SignatureLua
hideScriptedHudComponentThisFrame(id: integer)

Usage

JavaScript
hideScriptedHudComponentThisFrame(id);
Lua
hideScriptedHudComponentThisFrame(id)

Parameters

ParameterTypeJavaScriptLua
idintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

On LS:MP

ℹ
Checked by LS:MP

id must be between 0 and 29. Otherwise the call is ignored: nothing reaches the game, and no error is raised.

Reference

Namespace
HUD HUD
In the game
void HIDE_SCRIPTED_HUD_COMPONENT_THIS_FRAME(int id)
Hash
0xE374C498D8BADC14

Open in the interactive natives reference