SaveMapData

From Multi Theft Auto: Wiki
Revision as of 02:11, 5 January 2008 by EAi (talk | contribs)
Jump to navigation Jump to search

This converts a set of elements in the element tree into XML. This is a format that can then be loaded as a map file. Each element represents a single XML node.

Syntax

 bool saveMapData(xmlnode node, element baseElement)

Required Arguments

  • node: An existing node that should contain the contents of baseElement
  • baseElement: The first element to output to the xml tree. This element and all its children (and their children, etc) will be output.

Returns

Example

See Also