GraphicsClient

beginScaleformScriptHudMovieMethod

BEGIN_SCALEFORM_SCRIPT_HUD_MOVIE_METHOD0x98C494FD5BDFBFD5

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

SignatureJavaScript
beginScaleformScriptHudMovieMethod(
  hudComponent: number,
  methodName: string
): boolean
SignatureLua
beginScaleformScriptHudMovieMethod(
  hudComponent: integer,
  methodName: string
): boolean

Usage

JavaScript
const result = beginScaleformScriptHudMovieMethod(hudComponent, methodName);
Lua
local result = beginScaleformScriptHudMovieMethod(hudComponent, methodName)

Parameters

ParameterTypeJavaScriptLua
hudComponentintnumberinteger
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.

Pushes a function from the Hud component Scaleform onto the stack. Same behavior as beginScaleformMovieMethod, just a hud component id instead of a Scaleform.

Known components:
19 - MP_RANK_BAR
20 - HUD_DIRECTOR_MODE

This native requires more research - all information can be found inside of 'hud.gfx'. Using a decompiler, the different components are located under "scripts\__Packages\com\rockstargames\gtav\hud\hudComponents" and "scripts\__Packages\com\rockstargames\gtav\Multiplayer".

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL BEGIN_SCALEFORM_SCRIPT_HUD_MOVIE_METHOD(int hudComponent, const char* methodName)
Hash
0x98C494FD5BDFBFD5
Formerly
_PUSH_SCALEFORM_MOVIE_FUNCTION_FROM_HUD_COMPONENT _BEGIN_SCALEFORM_MOVIE_METHOD_HUD_COMPONENT

Open in the interactive natives reference