OnMapLoad

From Multi Theft Auto: Wiki
Revision as of 18:05, 19 August 2006 by BrophY (talk | contribs) (→‎Example)
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