OnMapLoad

From Multi Theft Auto: Wiki
Revision as of 04:25, 19 November 2006 by JonChappell (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