enable_event

Syntax

native enable_event(handle);

Usage

handle
Value returned from register_event() or register_event_ex()

Description

Enables a function hook of a game event which has been previously registered with register_event_ex().

Return

This function has no return value.

Error

If an invalid handle is provided, an error will be thrown.