GraphicsClient

beginScaleformMovieMethod

BEGIN_SCALEFORM_MOVIE_METHOD0xF6E48914C7A8694E

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

SignatureJavaScript
beginScaleformMovieMethod(scaleform: number, methodName: string): boolean
SignatureLua
beginScaleformMovieMethod(scaleform: integer, methodName: string): boolean

Usage

JavaScript
const result = beginScaleformMovieMethod(scaleform, methodName);
Lua
local result = beginScaleformMovieMethod(scaleform, methodName)

Parameters

ParameterTypeJavaScriptLua
scaleformintnumberinteger
methodNamestringstringstring

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.

Push a function from the Scaleform onto the stack

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL BEGIN_SCALEFORM_MOVIE_METHOD(int scaleform, const char* methodName)
Hash
0xF6E48914C7A8694E
Formerly
_PUSH_SCALEFORM_MOVIE_FUNCTION

Open in the interactive natives reference