GetCmdArgString Function

Retrieves the entire command argument string in one lump from the current console or server command.

int GetCmdArgString(char[] buffer, int maxlength)

Parameters

char[] buffer

Buffer to use for storing the string.

int maxlength

Maximum length of the buffer.

Return Value

Length of string written to buffer.