GetResourceMapRootElement: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:


===Required Arguments===  
===Required Arguments===  
*'''theResource:''' the resource of where the map is located
*'''theResource:''' the resource where the map is located
*'''mapName:''' name of the maps which root element we want to retrieve, file extension is required
*'''mapName:''' name of the maps which root element we want to retrieve, file extension is required



Revision as of 19:26, 23 June 2009

This function retrieves the root element of a certain map in a specified resource.

Syntax

element getResourceMapRootElement ( resource theResource, string mapName ) 

Required Arguments

  • theResource: the resource where the map is located
  • mapName: name of the maps which root element we want to retrieve, file extension is required

Returns

Returns an the resource's map root element if the map exists and resource specified was valid and active (currently running), false otherwise.

Example

--TODO

See Also