FireEvent Function

Fires a game event.

This function closes the event Handle after completing.

void FireEvent(Handle event, bool dontBroadcast)

Parameters

Handle event

Handle to the event.

bool dontBroadcast

Optional boolean that determines if event should be broadcast to clients.

Errors

Invalid or corrupt Handle.