: is seen as a new argument for commands
I'm not sure if this is a bug or a feature. Using the exact code from Adding Commands, this is what it returns:
Code:
14:42:37 test_command STEAM_0:0:123456 |
Re: : is seen as a new argument for commands
Yes, especially with GetCmdArg
|
Re: : is seen as a new argument for commands
Well... that's an easy answer :) Guess I'll have to live with it then, and fix it in my code.
|
Re: : is seen as a new argument for commands
Or you can put quotes around the SteamID.
|
Re: : is seen as a new argument for commands
Quote:
|
Re: : is seen as a new argument for commands
Or you can use GetCmdArgString with BreakString. :D
|
Re: : is seen as a new argument for commands
This is an artifact of Valve's command processing code which is from Quake 1.
|
| All times are GMT -4. The time now is 20:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.