KeyValues.GetNameSymbol Method

Finds a KeyValues id inside a KeyValues tree.

bool GetNameSymbol(const char[] key, int& id)

Parameters

const char[] key

Key name.

int& id

Id of the found KeyValue.

Return Value

True on success, false if key not found.