OnMapUnload: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(A small edit to mine before)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Incomplete Event]]
{{Delete|This event no longer exists.}}
{{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.


Line 14: Line 14:


</syntaxhighlight>
</syntaxhighlight>
==See also==
{{Map functions}}

Latest revision as of 07:50, 5 November 2023

Edit-delete.png This page is marked for deletion.

Reason: This event no longer exists.
Actions: Delete (Administrators) - Discuss - What links here - Category


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

See also