OnMapLoad: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
 
[[Category:Incomplete Event]]
This event is triggered when a map is loaded.
This event is triggered when a map is loaded.



Revision as of 15:30, 2 December 2006

This event is triggered when a map is loaded.

Example

This example displays a message in the textbox when you load a map containing this lua


addEventHandler ( "onMapLoad", root, "onMapLoad" )
function onMapLoad ()
	outputChatBox ( "Map Loaded", root, 255, 255, 255 )
end