callScaleformMovieMethodWithString
CALL_SCALEFORM_MOVIE_METHOD_WITH_STRING0x51BC1ED3CC44E8F7The GTA V native CALL_SCALEFORM_MOVIE_METHOD_WITH_STRING of the GRAPHICS namespace, as LS:MP client scripts call it: the global function callScaleformMovieMethodWithString, in JavaScript and in Lua.
callScaleformMovieMethodWithString(
scaleform: number,
methodName: string,
param1: string,
param2: string,
param3: string,
param4: string,
param5: string
): voidcallScaleformMovieMethodWithString(
scaleform: integer,
methodName: string,
param1: string,
param2: string,
param3: string,
param4: string,
param5: string
)Usage
JavaScript
callScaleformMovieMethodWithString(
scaleform, methodName, param1, param2, param3, param4, param5
);Lua
callScaleformMovieMethodWithString(
scaleform, methodName, param1, param2, param3, param4, param5
)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
scaleform | int | number | integer |
methodName | string | string | string |
param1 | string | string | string |
param2 | string | string | string |
param3 | string | string | string |
param4 | string | string | string |
param5 | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Calls the Scaleform function and passes the parameters as strings.
The number of parameters passed to the function varies, so the end of the parameter list is represented by 0 (NULL).
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void CALL_SCALEFORM_MOVIE_METHOD_WITH_STRING(int scaleform, const char* methodName, const char* param1, const char* param2, const char* param3, const char* param4, const char* param5)- Hash
0x51BC1ED3CC44E8F7- Formerly
_CALL_SCALEFORM_MOVIE_FUNCTION_STRING_PARAMS