Garry's Mod Wiki

Revision Difference

team.GetAllTeams#511765

<function name="GetAllTeams" parent="team" type="libraryfunc">⤶ <description>Returns a table consisting of information on every defined team</description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="table">Team info</ret>⤶ </rets>⤶ </function>⤶ ⤶ <example>⤶ <description>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.</description>⤶ <code>PrintTable( team.GetAllTeams() )</code>⤶ <outputfixedwidth>Fixed width</outputfixedwidth>⤶ <output>⤶ 0:⤶ Color:⤶ a = 255⤶ b = 100⤶ g = 255⤶ r = 255⤶ Joinable = false⤶ Name = Joining/Connecting⤶ Score = 0⤶ </output>⤶ ⤶ </example>