Перейти к содержанию

Graphics::pushScaleformMovieFunctionFromHudComponent

Материал из RAGE MP Wiki Archive
Версия от 21:13, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<syntaxhighlight lang="javascript">mp.game.graphics.pushScaleformMovieFunctionFromHudComponent(hudComponent, functionName);</syntaxhighlight>

Required Arguments

  • hudComponent: int
  • functionName: String

Return value

  • Boolean

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also