Player::getTeam: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
m (Changed syntax)
 
Line 1: Line 1:
Gets the player's team.<br>Does nothing in singleplayer.
Gets the player's team.<br>Does nothing in singleplayer.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.getTeam();</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.getTeam();</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
===Return value===
===Return value===

Latest revision as of 11:57, 28 February 2018

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

Syntax

mp.game.player.getTeam();

Required Arguments

Return value

  • int

Example

// todo

See also