Ui::getHudComponentPosition: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
mNo edit summary
 
Line 1: Line 1:
Use this to get subtitles position.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.ui.getHudComponentPosition(p0);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.getHudComponentPosition(componentIndex);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' unknown (to be checked)
*'''componentIndex:''' int, (Full list: [[HUD Components|HUD Components list]]))
===Return value===
===Return value===
*'''int'''
*'''int'''
Line 10: Line 12:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_s_function_c}}
{{Ui_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:UI API]]
[[Category:TODO: Example]]

Latest revision as of 09:39, 20 January 2018

Use this to get subtitles position.

Syntax

mp.game.ui.getHudComponentPosition(componentIndex);

Required Arguments

Return value

  • int

Example

// todo

See also