Graphics::pushScaleformMovieFunctionFromHudComponent

From RAGE Multiplayer Wiki

Pushes a function from the Hud component Scaleform onto the stack. Same behavior as GRAPHICS::_PUSH_SCALEFORM_MOVIE_FUNCTION, 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'.

Syntax

mp.game.graphics.pushScaleformMovieFunctionFromHudComponent(hudComponent, functionName);

Required Arguments

  • hudComponent: int
  • functionName: String

Return value

  • Boolean

Example

// todo

See also