GameConfGetAddress Function

Finds an address calculation in a GameConfig file, performs LoadFromAddress on it as appropriate, then returns the final address.

Address GameConfGetAddress(Handle gameconf, const char[] name)

Parameters

Handle gameconf

GameConfig Handle, or INVALID_HANDLE to use sdktools.games.txt.

const char[] name

Name of the property to find.

Return Value

An address calculated on success, or 0 on failure.