KvSetString Function

Sets a string value of a KeyValues key.

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

Parameters

Handle kv

KeyValues Handle.

const char[] key

Name of the key, or NULL_STRING.

const char[] value

String value.

Errors

Invalid Handle.