team.NumPlayers
From GMod Wiki
Revision as of 14:50, 22 October 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax |
team.NumPlayers( Integer TeamIndex ) Where is this used? |
Description: | |
Gets the number of players in the specific Team. | |
Returns: | Integer number of players |
Part of Library: | Team |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Team.NumPlayers]Team.NumPlayers [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Gets Team 1's number of players. |
---|---|
Used on | |
Code | Msg(team.NumPlayers (1)) |
Output | Outputs Team 1's number of players in Console. |