Garry's Mod Wiki

team.GetAllTeams

table team.GetAllTeams()

Description

Returns a table consisting of information on every defined team

Returns

1 table
Team info

Example

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.

Output:
0: Color: a = 255 b = 100 g = 255 r = 255 Joinable = false Name = Joining/Connecting Score = 0

Page Links


Special Pages


Wikis

?

Render Time: 172ms

DB GetPage 47
Generate Html 2
SaveChanges (1) 100
Render Body 0
Render Sidebar 20