GetEventBool Function

Returns the boolean value of a game event's key.

bool GetEventBool(Handle event, const char[] key, bool defValue)

Parameters

Handle event

Handle to the event.

const char[] key

Name of event key.

bool defValue

Optional default value to use if the key is not found.

Return Value

The boolean value of the specified event key.

Errors

Invalid or corrupt Handle.