GraphicsClient

requestScaleformMovie

REQUEST_SCALEFORM_MOVIE0x11FE353CF9733E6F

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
scaleformNamestringstringstring

Returns

int JavaScript number, Lua integer

Reference

Namespace
Graphics GRAPHICS
In the game
int REQUEST_SCALEFORM_MOVIE(const char* scaleformName)
Hash
0x11FE353CF9733E6F

Open in the interactive natives reference