GetCmdArg() and GetCmdArgString() now return a string length

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401427
This commit is contained in:
David Anderson
2007-09-13 18:28:47 +00:00
parent f8816ab556
commit be731888e7
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -338,7 +338,7 @@ native GetCmdArgs();
* @param argnum Argument number to retrieve.
* @param buffer Buffer to use for storing the string.
* @param maxlength Maximum length of the buffer.
* @noreturn
* @return Length of string written to buffer.
*/
native GetCmdArg(argnum, String:buffer[], maxlength);
@@ -348,7 +348,7 @@ native GetCmdArg(argnum, String:buffer[], maxlength);
*
* @param buffer Buffer to use for storing the string.
* @param maxlength Maximum length of the buffer.
* @noreturn
* @return Length of string written to buffer.
*/
native GetCmdArgString(String:buffer[], maxlength);