Garry's Mod Wiki

team.NumPlayers

  number team.NumPlayers( number teamIndex )

Description

Returns the amount of players in a team.

Arguments

1 number teamIndex
The team index.

Returns

1 number
playerCount

Example

Prints the amount of players in a player's team

Output: The number of players in ply's team.