OnMapUnload

From Multi Theft Auto: Wiki
Revision as of 18:08, 19 August 2006 by BrophY (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

onMapUnload

This event is triggered when the map is changed / 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