Player::startPlayerTeleport: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
m (Readability update to function argument list. Added commas and spaces between argument list.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.startPlayerTeleport(xyzheadingp5p6p7);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.startPlayerTeleport(x, y, z, heading, p5, p6, p7);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 14: Line 14:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Player_function_c}}
{{Player_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:17, 16 May 2019

Syntax

mp.game.player.startPlayerTeleport(x, y, z, heading, p5, p6, p7);

Required Arguments

  • x: float
  • y: float
  • z: float
  • heading: float
  • p5: Boolean
  • p6: Boolean
  • p7: Boolean

Return value

  • Undefined

Example

// todo

See also