HUDClientChecked by LS:MP

showScriptedHudComponentThisFrame

SHOW_SCRIPTED_HUD_COMPONENT_THIS_FRAME0x4F38DCA127DAAEA2

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

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

Usage

JavaScript
showScriptedHudComponentThisFrame(id);
Lua
showScriptedHudComponentThisFrame(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 SHOW_SCRIPTED_HUD_COMPONENT_THIS_FRAME(int id)
Hash
0x4F38DCA127DAAEA2
Introduced
Game build 1734 legacy numbering
Formerly
_SHOW_SCRIPTED_HUD_COMPONENT_THIS_FRAME

Open in the interactive natives reference