Method Global:ClearServerEvents [-] [+]

Unbinds event handlers for either all server events, or one type of event.

If event_type is nil, all server event handlers are cleared.

Otherwise, only event handlers for event_type are cleared.

Synopsis

ClearServerEvents()

ClearServerEvents( event_type )

Arguments

number event_type

The event whose handlers will be cleared, see Global:RegisterServerEvent.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine