KvSetNum Function

Sets an integer value of a KeyValues key.

void KvSetNum(Handle kv, const char[] key, int value)

Parameters

Handle kv

KeyValues Handle.

const char[] key

Name of the key, or NULL_STRING.

int value

Value number.

Errors

Invalid Handle.