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.

Page Links


Special Pages


Wikis

?

Render Time: 75ms

DB GetPage 43
Generate Html 3
SaveChanges (1) 15
Render Body 0
Render Sidebar 7