OnMapUnload

From Multi Theft Auto: Wiki
Revision as of 22:04, 3 September 2011 by OpenIDUser28 (talk | contribs) (Needs Checking: Event does not exist)
Jump to navigation Jump to search


Dialog-information.png This article needs checking.

Reason(s): This event does not exist. It's an internal event taken from the tdma gamemode. The example is useless also. Remove or can somebody finish it? --Sniper 00:04, 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