Graphics::setScreenDrawPosition: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Seems to move all the drawn text on the screen to given coordinates.<br>It also removed all the drawn sprites of my screen so not to sure what the exact function is.<br>
Seems to move all the drawn text on the screen to given coordinates.<br>It also removed all the drawn sprites of my screen so not to sure what the exact function is.<br>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.setScreenDrawPosition(x, y);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.setScreenDrawPosition(x, y);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' int
*'''x:''' int
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:27, 6 May 2017

Seems to move all the drawn text on the screen to given coordinates.
It also removed all the drawn sprites of my screen so not to sure what the exact function is.

Syntax

mp.game.graphics.setScreenDrawPosition(x, y);

Required Arguments

  • x: int
  • y: int

Return value

  • Undefined

Example

// todo

See also