Skip to main content

Player::getPlayerTeam

Gets the player's team. Does nothing in singleplayer.

Syntax

```js mp.game.player.getPlayerTeam(); ```

Required Arguments

Return value

  • int

Example

```js // todo ```

See also