View Single Post
blacktr4sh
Junior Member
Join Date: Apr 2020
Old 08-04-2020 , 15:11   Re: [TF2] Need help re-creating sv_cheats "bot" command
Reply With Quote #3

Quote:
Originally Posted by SSheriFF View Post
take a look at https://sm.alliedmods.net/new-api/console/GetCmdArg it might help you.
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.

Last edited by blacktr4sh; 08-04-2020 at 15:14.
blacktr4sh is offline