GetResourceMapRootElement

From Multi Theft Auto: Wiki
Revision as of 19:25, 23 June 2009 by Awwu (talk | contribs)
Jump to navigation Jump to search

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 of 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