OnMapUnload: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs Checking: Event does not exist)
(A small edit to mine before)
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)}}
{{Needs Checking|This event does not exist anymore. Remove? --[[User:OpenIDUser28|Sniper]] 00:11, 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:11, 3 September 2011


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