Originally Posted by SSheriFF
So use it like that: GetCmdArg(6, sName, sizeof(sName)); & GetCmdArg(2, sTeam, sizeof(sTeam)); each number constitutes the number of the argument after the command itself, so 1 is the first argument after the command, 2 is the second and so on...
Hmm okay, but I think it might be too repetitive. The first argument isn't always "-team blue", it could also be "-name Bot" or "-class Scout", same with any other argument. So I would have to check every time I get the argument. Is there a simpler way you know of or is that the only way it could be done?