Event < Handle

Last Updated2019-01-03
Created At2014-11-08

Methods12
SymbolDescription
CancelCancels a previously created game event that has not been fired. This is necessary to avoid leaking memory when an event isn't fired.
FireFires a game event. This function closes the event Handle after completing.
FireToClientFires a game event to only the specified client. Unlike Fire, this function DOES NOT close the event Handle.
GetBoolReturns the boolean value of a game event's key.
GetFloatReturns the floating point value of a game event's key.
GetIntReturns the integer value of a game event's key.
GetNameRetrieves the name of a game event.
GetStringRetrieves the string value of a game event's key.
SetBoolSets the boolean value of a game event's key.
SetFloatSets the floating point value of a game event's key.
SetIntSets the integer value of a game event's key. Integer value refers to anything that can be reduced to an integer. The various size specifiers, such as "byte" and "short" are still integers, and only refer to how much data will actually be sent over the network (if applicable).
SetStringSets the string value of a game event's key.
Properties1
SymbolTypeDescription
BroadcastDisabledboolSets whether an event's broadcasting will be disabled or not. This has no effect on events Handles that are not from HookEvent or HookEventEx callbacks.