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: 30ms

DB GetPage 4
Generate Html 4
SaveChanges 14
Render Body 0
Render Sidebar 5