I have a small problem. I'd like to change the code below so I don't have to put all three checks. Essentially, I need it to see that the command starts with "team_CTF_" so it will affect all three of those with just that line (if that makes any sense.)
if ((Q_stricmp(name, "team_CTF_blueflag") == 0) || (Q_stricmp(name, "team_CTF_redflag") == 0) || (Q_stricmp(name, "team_CTF_neutralflag") == 0))
Something called "Q_stricmpn" is needed but I've never used that before so I'm unsure about it.


Sign In
Create Account

Back to top









