GameConfGetOffset Function

Returns an offset value.

int GameConfGetOffset(Handle gc, const char[] key)

Parameters

Handle gc

Game config handle.

const char[] key

Key to retrieve from the offset section.

Return Value

An offset, or -1 on failure.