Garry's Mod Wiki

team.NumPlayers

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.

Special Pages


Wikis

?

Render Time: 68ms

DB GetPage 47
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 7