Difference between revisions of "Talk:Event system"

From Multi Theft Auto: Wiki
m (Created page with 'Just an observation: it seems that the hidden variables (like source) persist throughout the duration of the associated event handler, including while other functions (that were …')
(No difference)

Revision as of 03:58, 11 August 2009

Just an observation: it seems that the hidden variables (like source) persist throughout the duration of the associated event handler, including while other functions (that were called by the handler function) are being executed. This means that the hidden the variables work quite differently than do function arguments, and there is potential for errors if the user does is not aware of this fact. Perhaps the way these hidden variables work should be explained on the page - their scope and when they exist. --Erorr404 03:58, 11 August 2009 (UTC)