View Single Post
DarthMan
Veteran Member
Join Date: Aug 2011
Old 03-03-2021 , 11:25   Re: [INC] cmd_targetex(): @all, @ct, @t, @me, @view & more!
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
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.
What I can tell you for now is that TFC supports up to 4 teams, DoD and OP4 2 teams (not sure if spectator is a team on DoD, if it is, then 3), but OP4 is either deathmatch or team-based black mesa vs HECU marines CTF. But for sure, in DoD there can't be less than 2 teams.
DarthMan is offline