KeyValues.SetNum Method

Sets an integer value of a KeyValues key.

void SetNum(const char[] key, int value)

Parameters

const char[] key

Name of the key, or NULL_STRING.

int value

Value number.