From Garry's Mod
Returns a table consisting of information on every defined team
Prints all Jobs/Teams on the server. The list in printed from lowest to highest. Information about join able to the player, the score of the team and the colors.
PrintTable( team.GetAllTeams() )
0: Color: a = 255 b = 100 g = 255 r = 255 Joinable = false Name = Joining/Connecting Score = 0