Garry's Mod Wiki

Garry's Mod Wiki

Description

Returns the player's team ID, set by Player:SetTeam

Returns 0 clientside when the game is not fully loaded.

Returns

1 number
The player's team's index number, as in the TEAM enum or a custom team defined in team.SetUp.

Example

Prints the name of the player's team

Output: Something like Unassigned in console.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...