Retrieves a numeric command argument given its index, from the current console or server command. Returns false if the argument can not be completely parsed as an integer.
bool GetCmdArgIntEx(int argnum, int& value)
Argument number to retrieve.
Populated with the value of the command argument.
Whether the argument was entirely a numeric value.