beginScaleformMovieMethod
BEGIN_SCALEFORM_MOVIE_METHOD0xF6E48914C7A8694EThe 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.
beginScaleformMovieMethod(scaleform: number, methodName: string): booleanbeginScaleformMovieMethod(scaleform: integer, methodName: string): booleanUsage
JavaScript
const result = beginScaleformMovieMethod(scaleform, methodName);Lua
local result = beginScaleformMovieMethod(scaleform, methodName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
scaleform | int | number | integer |
methodName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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