RemoveEventHandler
Removes the provided event handler.
Syntax
RemoveEventHandler(table eventHandlerData)
Required arguments
- eventHandlerData: The return value of AddEventHandler.
Examples
local eventA = AddEventHandler("someEvent", function()
print("someEvent executed")
end)
TriggerEvent("someEvent")
RemoveEventHandler(eventA)
Last modified December 18, 2019: Move {root->content} again for edit links. (483165c)