GetPlayerTeam
Category: Player
Since engine version: 5.1 OC
Description
Returns the team number of a player. If the player is not in a team, 0 is returned.
Syntax
int GetPlayerTeam(int player);
Parameter
- player:
Number of the player whose team you want to determine.
Sven2, 2006-03
Clonkonaut, 2008-04