OnMapUnload: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 17: Line 17:
==See also==
==See also==
{{Map functions}}
{{Map functions}}
[[Category:Archived]]

Revision as of 05:49, 9 July 2024

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