I'm aware of this, but I wasn't able to find a complete list of team names in all games. I did add only "cstrike" teams that work only when modname is "cstrike". You can easily add more:
Code:
static TargetEx_Teams[][TargetExTeamStructure] =
{
{ "ct", "CT" },
{ "t", "TERRORIST" },
{ "spec", "SPECTATOR" }
}
Code:
if(equal(szModName, "cstrike"))
{
TargetEx_TeamStart = 0;
TargetEx_TeamEnd = 2;
}
I will fully expand this if I get to such a list.
__________________