HUDClient

isScriptedHudComponentHiddenThisFrame

IS_SCRIPTED_HUD_COMPONENT_HIDDEN_THIS_FRAME0x09C0403ED9A751C2

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

SignatureJavaScript
isScriptedHudComponentHiddenThisFrame(id: number): boolean
SignatureLua
isScriptedHudComponentHiddenThisFrame(id: integer): boolean

Usage

JavaScript
const result = isScriptedHudComponentHiddenThisFrame(id);
Lua
local result = isScriptedHudComponentHiddenThisFrame(id)

Parameters

ParameterTypeJavaScriptLua
idintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
HUD HUD
In the game
BOOL IS_SCRIPTED_HUD_COMPONENT_HIDDEN_THIS_FRAME(int id)
Hash
0x09C0403ED9A751C2

Open in the interactive natives reference