GameData.GetKeyValue Method

Gets the value of a key from the "Keys" section.

bool GetKeyValue(const char[] key, char[] buffer, int maxlen)

Parameters

const char[] key

Key to retrieve from the Keys section.

char[] buffer

Destination string buffer.

int maxlen

Maximum length of output string buffer.

Return Value

True if key existed, false otherwise.