GameConfGetKeyValue

Syntax

native bool:GameConfGetKeyValue(GameConfig:handle, const key[], buffer[], maxlen);

Usage

Parameter Description
handle
Game config handle
key
Key to retrieve from the Keys section
buffer
Destination string buffer
maxlen
Maximum length of output string buffer

Description

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

Return

True if key existed, false otherwise

Error

Invalid game config handle