GetCmdArgFloatEx Function

Retrieves a float command argument given its index, from the current console or server command. Returns false if the argument can not be completely parsed as a floating point.

bool GetCmdArgFloatEx(int argnum, float& value)


int argnum

Argument number to retrieve.

float& value

Populated with the value of the command argument.

Return Value

Whether the argument was entirely a floating point value.