OnMapUnload

From Multi Theft Auto: Wiki
Revision as of 22:11, 3 September 2011 by OpenIDUser28 (talk | contribs) (A small edit to mine before)
Jump to navigation Jump to search


Dialog-information.png This article needs checking.

Reason(s): This event does not exist anymore. Remove? --Sniper 00:11, 4 September 2011 (CEST)

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