From Garry's Mod
Revision as of 18:42, 24 April 2019 by Pilot2chasse
Returns the player's team ID.
Returns 0 clientside when the game is not fully loaded.
Prints the name of the player's team
print(team.GetName( Entity( 1 ):Team() ) )
Something like "Unassigned" in console.