Quote:
Originally Posted by blacktr4sh
Yes, I know of GetCmdArg but the issue is that it doesn't combine spaces. When using the command there could be multiple arguments that would be "-name Bot" or "-team blu".
GetCmdArg(1, sName, sizeof(sName)); will only get "-name". Thanks for trying to help.
|
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...
__________________