GameConfGetKeyValue Function

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

bool GameConfGetKeyValue(Handle gc, const char[] key, char[] buffer, int maxlen)

Parameters

Handle gc

Game config handle.

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.