Skip to main content

Player::setWantedCentrePosition

  1. Predominant call signatures

PLAYER::SET_PLAYER_WANTED_CENTRE_POSITION(PLAYER::PLAYER_ID(), ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_Player_ID(), 1));

  1. Parameter value ranges

P0: PLAYER::PLAYER_ID() P1: ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_Player_ID(), 1) P2: Not set by any call

Syntax

```js player.setWantedCentrePosition(x, y, z); ```

Required Arguments

  • x: float
  • y: float
  • z: float

Return value

  • Undefined

Example

```js // todo ```

See also