teamnumber
teamnumber
is a keyvalue available in Counter-Strike: Global Offensive and Team Fortress 2.
It defines the team of a player.
Tip:You can test these out in game with the console command
ent_fire player AddOutput "teamnumber #"
where # is a number from the table below.Various teamnumber values in Counter-Strike titles
Decimal | Description | Player Model |
---|---|---|
1
|
Spectator | Invisible |
2
|
Terrorist | Terrorist map default, or choosen agent |
3
|
Counter-Terrorist | Counter-Terrorist map default, or choosen agent |
Other | Undefined | Terrorist map default |
Tip:You can change it using
ent_fire
in Co-op Strike and play for the Terrorist teamVarious teamnumber values in Team Fortress 2
Warning:Setting this keyvalue to below 0 or above 3 will crash the game.
Decimal | Description | Player Model and Texture |
---|---|---|
0
|
Unassigned | Invisible or RED style if a class was selected then teamnumber changed through addoutput |
1
|
Spectators | Invisible or RED style without cosmetics if a class was selected then teamnumber changed through addoutput |
2
|
RED | RED style |
3
|
BLU | BLU style |