GetNum
Retrieves an integer value from a KeyValues key.
native int GetNum(const char[] key, int defvalue = 0)
Parameters
const char[] key
Name of the key, or NULL_STRING.
int defvalue
Optional default value to use if the key is not found.
Return Value
int Integer value of the key.