Fandom

HammerWiki

Function:RegisterEventHandler()

6,449pages on
this wiki
Add New Page
Comments0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

FunctioncallEdit

RegisterEventHandler(event, callback)

  • number:event = See SystemData.Events
  • string:callback = The name of a function which should be called if a specific event occures

ReturnEdit

DescriptionEdit

One of the most important functions. Events get fired if specific terms are meet. Those terms are event specific, and for most things which can happen, there is an event which get fired in this situation. If an event was fired, the client will call every function which is register to this event by this function. Some of this functioncalls also include arguments.

Also see: UnregisterEventHandler()

Also on Fandom

Random Wiki