GetPlayerTeam

Category: Player
Since engine version: 1.0 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.
See also: SetPlayerTeam, Teams
Sven2, 2006-03
Clonkonaut, 2008-04