Fandom

HammerWiki

Function:UnregisterEventHandler()

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

UnregisterEventHandler(event, callback)

  • number:event = See SystemData.Events
  • string:callback = The function which should not be called anymore by this event

ReturnEdit

DescriptionEdit

This will unregister a specific eventhandler.

Sometimes your addon doesn't need an event to be register all the time. If an function should not be called anymore by a specific event, you can unregister that eventhandler with this function.

See also: RegisterEventHandler()

Also on Fandom

Random Wiki