KeyValuesToFile Function

Converts a KeyValues tree to a file. The tree is dumped from the current position.

bool KeyValuesToFile(Handle kv, const char[] file)

Parameters

Handle kv

KeyValues Handle.

const char[] file

File to dump write to.

Return Value

True on success, false otherwise.

Errors

Invalid Handle.