GraphicsClient

callScaleformMovieMethodWithString

CALL_SCALEFORM_MOVIE_METHOD_WITH_STRING0x51BC1ED3CC44E8F7

The 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.

SignatureJavaScript
callScaleformMovieMethodWithString(
  scaleform: number,
  methodName: string,
  param1: string,
  param2: string,
  param3: string,
  param4: string,
  param5: string
): void
SignatureLua
callScaleformMovieMethodWithString(
  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

ParameterTypeJavaScriptLua
scaleformintnumberinteger
methodNamestringstringstring
param1stringstringstring
param2stringstringstring
param3stringstringstring
param4stringstringstring
param5stringstringstring

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

Open in the interactive natives reference