GetEventHandlers: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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 from the element attached to event. | This function gets the attached functions from the event and element attached to event. | ||
}} | }} | ||
Revision as of 08:43, 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.