Template:Event functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
*[[addEvent]] - Add a new custom event type
*[[addEvent]]
*[[addEventHandler]] - Add a handler for an existing event, causing a function to get called when it is triggered
*[[addEventHandler]]
*[[cancelEvent]] - Cancel the game's default event handling
*[[cancelEvent]]
*[[removeEventHandler]] - Remove an existing event handler
*[[removeEventHandler]]
*[[triggerEvent]] - Trigger an existing event type
*[[triggerEvent]]
*[[triggerClientEvent]] - Triggers an event in a client-side script
*[[triggerClientEvent]]
*[[wasEventCanceled]] - Check if the last active event was canceled
*[[wasEventCanceled]]

Revision as of 14:52, 28 March 2007