StringToKeyValues

Last Updated2014-07-07
Created At2014-07-07

Converts a given string to a KeyValues tree. The string is read into the current postion of the tree.

native bool StringToKeyValues(Handle kv, const char[] buffer, const char[] resourceName = "StringToKeyValues")

Parameters

KeyValues Handle.
const char[] buffer
String buffer to load into the KeyValues.
const char[] resourceName
The resource name of the KeyValues, used for error tracking purposes.

Return Value

bool True on success, false otherwise.

Error

Invalid Handle.