GraphicsClient

hasScaleformMovieFilenameLoaded

HAS_SCALEFORM_MOVIE_FILENAME_LOADED0x0C1C5D756FB5F337

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

SignatureJavaScript
hasScaleformMovieFilenameLoaded(scaleformName: string): boolean
SignatureLua
hasScaleformMovieFilenameLoaded(scaleformName: string): boolean

Usage

JavaScript
const result = hasScaleformMovieFilenameLoaded(scaleformName);
Lua
local result = hasScaleformMovieFilenameLoaded(scaleformName)

Parameters

ParameterTypeJavaScriptLua
scaleformNamestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Only values used in the scripts are:

"heist_mp"
"heistmap_mp"
"instructional_buttons"
"heist_pre"

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL HAS_SCALEFORM_MOVIE_FILENAME_LOADED(const char* scaleformName)
Hash
0x0C1C5D756FB5F337
Formerly
_HAS_NAMED_SCALEFORM_MOVIE_LOADED

Open in the interactive natives reference