Cs team manager: Difference between revisions
Jump to navigation
Jump to search

Warning:
vscript
Warning:Killing this entity crashes the game.
Thunder4ik (talk | contribs) m (→See also: clean up, replaced: See Also → See also) |
No edit summary |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{ | {{Ent not in fgd|codeonly=1}} | ||
{{Preserved entity|all}} | |||
{{CD|CCSTeam|file1=cs_team.cpp}} | {{CD|CCSTeam|file1=cs_team.cpp}} | ||
{{entity| | {{CD|C_CSTeam|base=C_Team|client=1|file1=c_cs_team.cpp}} | ||
It is automatically created for each team when the map loads. (4 are created in {{l4d}}, 5 | {{This is a|logical entity|name=cs_team_manager|game=Counter-Strike series|game1=Left 4 Dead series}} It is automatically created for each team when the map loads. (4 are created in {{l4d}}, and 5 in {{l4d2}}). It stores names and score of each team and list of players that belong to that team | ||
{{ | |||
Team names in Counter-Strike source (probably same in csgo{{confirm}}) | |||
*0: "Unassigned" | |||
*1: "Spectator" | |||
*2: "TERRORIST" | |||
*3: "CT" | |||
Team names in Left 4 Dead series | |||
*0: "Unassigned" | |||
*1: "Spectator" | |||
*2: "Survivor" | |||
*3: "Infected" | |||
*4: "L4D1_Survivor" {{l4d2|only}} (those spawned by {{ent|info_l4d1_survivor_spawn}}) | |||
{{warning|{{l4d2}} vscript <code>NetProps.GetPropString</code> doesn't read m_szTeamname netprop properly and may crash the game}} | |||
{{warning|Killing this entity crashes the game.}} | {{warning|Killing this entity crashes the game.}} | ||
== See also == | == See also == | ||
* | * {{ent|terror_gamerules}} | ||
* | * {{ent|terror_player_manager}} | ||
* | * {{ent|scene_manager}} | ||
* | * {{ent|soundent}} | ||
* | * {{ent|vote_controller}} |
Latest revision as of 05:12, 9 May 2025




This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected.
If the game has round restart mechanics this entity may not behave as expected.
![]() |
---|
CCSTeam |
![]() |
![]() |
---|
C_CSTeam |
![]() |
cs_team_manager
is a logical entity available in Counter-Strike series and
Left 4 Dead series. It is automatically created for each team when the map loads. (4 are created in
, and 5 in
). It stores names and score of each team and list of players that belong to that team
Team names in Counter-Strike source (probably same in csgo[confirm])
- 0: "Unassigned"
- 1: "Spectator"
- 2: "TERRORIST"
- 3: "CT"
Team names in Left 4 Dead series
- 0: "Unassigned"
- 1: "Spectator"
- 2: "Survivor"
- 3: "Infected"
- 4: "L4D1_Survivor" (only in
) (those spawned by info_l4d1_survivor_spawn)


NetProps.GetPropString
doesn't read m_szTeamname netprop properly and may crash the game