addEvent

Revision as of 15:19, 24 August 2019 by Mex (talk | contribs) (Mex moved page AddEvent to addEvent)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

void addEvent(string eventName, int minRequiredArgCount)

The addEvent function is used to add an event type.

Parameters

1) string eventName The name of the event, case-insensitive.
2) int minRequiredArgCount The minimum amount of required arguments.

Return

void This function doesn't return a value.

Notes

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

        addEvent
        addEventHandler
        bindEventHandler
        removeEventHandler
        triggerEvent
        triggerNetworkEvent
        unbindEventHandler


Client Related

        addEvent
        addEventHandler
        bindEventHandler
        removeEventHandler
        triggerEvent
        triggerNetworkEvent
        unbindEventHandler