team.GetColor
Description
Returns the team's color.
Arguments
Returns
Example
( Clientside Example ) Draws a box with the LocalPlayer team's color in the top left corner of the screen.
hook.Add( "HUDPaint", "WikiTeamGetColorExample", function()
surface.SetDrawColor( team.GetColor( LocalPlayer():Team() ) )
surface.DrawRect( 0, 0, 150, 150 )
end )