Player:SetTeam
Description
Sets the player to the chosen team. The value is networked to clients at reduced bit count (16 bits) as as a signed value, so the real range is [-32768, 32767].
Can be retrieved via Player:Team
Arguments
Example
Sets the players team to the first argument when writing "set_team" into the console and respawns the player afterwards, ex. "set_team 1".
Output: Sets the player to team 1 and respawns them.