OnMapLoad

From Multi Theft Auto: Wiki
Revision as of 15:30, 2 December 2006 by Talidan (talk | contribs)
Jump to navigation Jump to search

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