Skip to main content

Player::setPlayerWantedCentrePosition

  1. Predominant call signatures

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

  1. Parameter value ranges

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

Syntax

```js mp.game.player.setPlayerWantedCentrePosition(xyz); ```

Required Arguments

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

Return value

  • Undefined

Example

```js // todo ```

See also