Skip to main content

Player::getPlayerTeam

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

Syntax​

mp.game.player.getPlayerTeam();

Return value​

  • int

Example​

// todo