function addEvent (shared-side)
Available since version: 0.0.1
This function will register a new event with specified name.
Events can be used to notify function(s) when something will happen, like player joins the server, etc.
bool addEvent(string eventName)
stringeventName: the name of the event.
true when event was successfully registered,
false if event with specified name already exists.