Difference between revisions of "OnMapUnload"

From Multi Theft Auto: Wiki
m (Needs Checking: Event does not exist)
Line 1: Line 1:
 
[[Category:Incomplete Event]]
 
[[Category:Incomplete Event]]
 +
{{Needs Checking|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? --[[User:OpenIDUser28|Sniper]] 00:04, 4 September 2011 (CEST)}}
 
This event is triggered when the map is changed or unloaded.
 
This event is triggered when the map is changed or unloaded.
  

Revision as of 22:04, 3 September 2011


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