team.GetAllTeams
From GMod Wiki
Revision as of 14:46, 22 October 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax |
team.GetAllTeams( ) Where is this used? |
Description: | |
Returns a table of teams and their data. | |
Returns: | Table :Team |
Part of Library: | Team |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Team.GetAllTeams]Team.GetAllTeams [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This will ALWAYS return the first three teams, then adds any other teams.
SHARED | 0000000000000000 | 00000000000000000 | TEAM_CONNECTING SHARED | 0000000000001001 | 00000001111101001 | TEAM_UNASSIGNED SHARED | 0000000000001002 | 00000001111101010 | TEAM_SPECTATOR