GetEventHandlers

From Multi Theft Auto: Wiki
Revision as of 08:43, 17 February 2013 by Kenix1 (talk | contribs)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.3.1 r4973:

This function gets the attached functions from the event and attached element.

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.