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

DB GetPage 32
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 8