Entity::position: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
Line 8: Line 8:


== Example ==
== Example ==
{{ServerSide}}
{{ServerSideCode|
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
const playerPos = player.position
const playerPos = player.position
Line 14: Line 14:
player.position = new mp.Vector3(0.0, 0.0, 72.0);
player.position = new mp.Vector3(0.0, 0.0, 72.0);
</syntaxhighlight>
</syntaxhighlight>
}}


==See Also==
==See Also==
{{Entity_definition}}
{{Entity_definition}}
[[Category:Entity API]]
[[Category:Server-side Property]]
[[Category:Client-side Property]]

Revision as of 10:18, 30 April 2019