OnMapLoad: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 2: Line 2:


==Example==
==Example==
<syntaxhighlight lang="lua">
function [[onMapLoad]] ()
function [[onMapLoad]] ()
[[outputChatBox]] ( "Map Loaded", root, 255, 255, 255 )
[[outputChatBox]] ( "Map Loaded", root, 255, 255, 255 )
end
end
</syntaxhighlight>

Revision as of 02:22, 19 August 2006

This event is triggered when a map is loaded

Example

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