Ped::createSynchronizedScene: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
p6 always 2 (but it doesnt seem to matter...)<br><br>roll and pitch 0<br>yaw to Ped.rotation
p6 always 2 (but it doesnt seem to matter...)<br><br>roll and pitch 0<br>yaw to Ped.rotation
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ped.createSynchronizedScene(x, y, z, roll, pitch, yaw, p6);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ped.createSynchronizedScene(x, y, z, roll, pitch, yaw, p6);</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==
{{Ped_function_c}}
{{Ped_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:29, 6 May 2017

p6 always 2 (but it doesnt seem to matter...)

roll and pitch 0
yaw to Ped.rotation

Syntax

mp.game.ped.createSynchronizedScene(x, y, z, roll, pitch, yaw, p6);

Required Arguments

  • x: float
  • y: float
  • z: float
  • roll: float
  • pitch: float
  • yaw: float
  • p6: int

Return value

  • int

Example

// todo

See also