ImportFromString

Last Updated2014-11-08
Created At2014-11-08

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

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

Parameters

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.