GetEventHandlers: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Server client function}} {{New feature/item|4.0132|1.3.1|4973| This function gets the attached functions to the event attached to element. }} ==Syntax== <syntaxhighlight lang="lua"> ...") |
No edit summary |
||
Line 2: | Line 2: | ||
{{Server client function}} | {{Server client function}} | ||
{{New feature/item|4.0132|1.3.1|4973| | {{New feature/item|4.0132|1.3.1|4973| | ||
This function gets the attached functions to the event attached to element. | This function gets the attached functions to the event and attached to element. | ||
}} | }} | ||
Revision as of 08:40, 17 February 2013
Syntax
table getEventHandlers ( string eventName, element attachedTo )
Required Arguments
- eventName: The name of the event. For example ( "onPlayerWasted" ).
- attachedTo: The element attached to.
Returns
Returns table with attached functions, false otherwise.