Entity::position

From RAGE Multiplayer Wiki
Revision as of 17:15, 27 December 2017 by Mcfloy (talk | contribs)

This property is the position of a player.

Getter

  • Vector3

Setter

  • Vector3

Example

Server-Side
const playerPos = player.position
console.log(playerPos) // return e.g. {x: 1337, y: 228, z: 70}
player.position = new Vector3(0.0, 0.0, 72.0);

See Also