OnMapUnload

From Multi Theft Auto: Wiki
Revision as of 15:30, 2 December 2006 by Talidan (talk | contribs)
Jump to navigation Jump to search

This event is triggered when the map is changed or unloaded.

Example

This example displays a message in the textbox when the map is changed / unloaded


addEventHandler ( "onMapUnload", root, "onMapUnload" )
function onMapUnload ( )
  outputChatBox ( "Script Unloaded!", root, 255, 255, 255 )
end