OnMapUnload: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Visual improvement)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Warning|'''This event no longer exists'''. Map unloads are synchronous (they finish before the script continues).|true}}
{{Historical|This event no longer exists since 2011}}
{{Delete|This event no longer exists.}}


This event is triggered when the map is changed or unloaded.
This event is triggered when the map is changed or unloaded.
Line 17: Line 18:
==See also==
==See also==
{{Map functions}}
{{Map functions}}
[[Category:Archived]]

Latest revision as of 16:21, 11 September 2024

Office-calendar.png Historical: This page is retained for historical reference.

This event no longer exists since 2011
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