Ui::setPlayerBlipPositionThisFrame: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Sets the position of the arrow icon representing the player on both the minimap and world map.<br><br>Too bad this wouldn't work over the network (obviously not). Could spoof where we would be.
Sets the position of the arrow icon representing the player on both the minimap and world map.<br><br>Too bad this wouldn't work over the network (obviously not). Could spoof where we would be.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setPlayerBlipPositionThisFrame(x, y);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setPlayerBlipPositionThisFrame(x, y);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 9: Line 9:
==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

Sets the position of the arrow icon representing the player on both the minimap and world map.

Too bad this wouldn't work over the network (obviously not). Could spoof where we would be.

Syntax

mp.game.ui.setPlayerBlipPositionThisFrame(x, y);

Required Arguments

  • x: float
  • y: float

Return value

  • Undefined

Example

// todo

See also