Ui::lockMinimapAngle: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Locks the minimap to the specified angle in integer degrees.<br><br>angle: The angle in whole degrees. If less than 0 or greater than 360, unlocks the angle.
Locks the minimap to the specified angle in integer degrees.<br><br>angle: The angle in whole degrees. If less than 0 or greater than 360, unlocks the angle.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.lockMinimapAngle(angle);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.lockMinimapAngle(angle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''angle:''' int
*'''angle:''' int
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:33, 6 May 2017

Locks the minimap to the specified angle in integer degrees.

angle: The angle in whole degrees. If less than 0 or greater than 360, unlocks the angle.

Syntax

mp.game.ui.lockMinimapAngle(angle);

Required Arguments

  • angle: int

Return value

  • Undefined

Example

// todo

See also