Ui::getHudComponentPosition: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Use this to get subtitles position.


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">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'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_function_c}}
{{Ui_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:UI API]]

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