GraphicsClient

hasScaleformScriptHudMovieLoaded

HAS_SCALEFORM_SCRIPT_HUD_MOVIE_LOADED0xDF6E5987D2B4D140

The GTA V native HAS_SCALEFORM_SCRIPT_HUD_MOVIE_LOADED of the GRAPHICS namespace, as LS:MP client scripts call it: the global function hasScaleformScriptHudMovieLoaded, in JavaScript and in Lua.

SignatureJavaScript
hasScaleformScriptHudMovieLoaded(hudComponent: number): boolean
SignatureLua
hasScaleformScriptHudMovieLoaded(hudComponent: integer): boolean

Usage

JavaScript
const result = hasScaleformScriptHudMovieLoaded(hudComponent);
Lua
local result = hasScaleformScriptHudMovieLoaded(hudComponent)

Parameters

ParameterTypeJavaScriptLua
hudComponentintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL HAS_SCALEFORM_SCRIPT_HUD_MOVIE_LOADED(int hudComponent)
Hash
0xDF6E5987D2B4D140
Formerly
_HAS_HUD_SCALEFORM_LOADED

Open in the interactive natives reference