GraphicsClient

requestScaleformMovieInstance

REQUEST_SCALEFORM_MOVIE_INSTANCE0xC514489CFB8AF806

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

SignatureJavaScript
requestScaleformMovieInstance(scaleformName: string): number
SignatureLua
requestScaleformMovieInstance(scaleformName: string): integer

Usage

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

Parameters

ParameterTypeJavaScriptLua
scaleformNamestringstringstring

Returns

int JavaScript number, Lua integer

Reference

Namespace
Graphics GRAPHICS
In the game
int REQUEST_SCALEFORM_MOVIE_INSTANCE(const char* scaleformName)
Hash
0xC514489CFB8AF806

Open in the interactive natives reference