beginScaleformScriptHudMovieMethod
BEGIN_SCALEFORM_SCRIPT_HUD_MOVIE_METHOD0x98C494FD5BDFBFD5The 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.
beginScaleformScriptHudMovieMethod(
hudComponent: number,
methodName: string
): booleanbeginScaleformScriptHudMovieMethod(
hudComponent: integer,
methodName: string
): booleanUsage
const result = beginScaleformScriptHudMovieMethod(hudComponent, methodName);local result = beginScaleformScriptHudMovieMethod(hudComponent, methodName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
hudComponent | 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.
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