GetCmdArgIntEx

Last Updated2020-03-04
Created At2020-03-04

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.

stock bool GetCmdArgIntEx(int argnum, int& value)

Parameters

int argnum
Argument number to retrieve.
int& value
Populated with the value of the command argument.

Return Value

bool Whether the argument was entirely a numeric value.