KvJumpToKey Function

Sets the current position in the KeyValues tree to the given key.

bool KvJumpToKey(Handle kv, const char[] key, bool create)

Parameters

Handle kv

KeyValues Handle.

const char[] key

Name of the key.

bool create

If true, and the key does not exist, it will be created.

Return Value

True if the key exists, false if it does not and was not created.