CBA_fnc_addEventHandler

Description

Registers an event handler for a specific CBA event.

Parameters

_eventTypeType of event to handle [String].
_handlerFunction to call when event is raised [Code].

Returns

Index of the event handler (can be used with CBA_fnc_removeEventHandler).

Author

Spooner

Removes an event handler previously registered with CBA_fnc_addEventHandler.
Close