XmlCreateSubNode

From Multi Theft Auto: Wiki
Revision as of 16:49, 19 October 2007 by JHXP (talk | contribs) (New page: __NOTOC__ {{Server client function}} This function returns a named sub node of a particular XML node. ==Syntax== <syntaxhighlight lang="lua">xmlnode xmlCreateSubNode ( xmlnode, tagname )</syntaxhighlight> ===Requir...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function returns a named sub node of a particular XML node.

Syntax

xmlnode xmlCreateSubNode ( xmlnode, tagname )

Required Arguments

  • argumentName: description

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.

  • argumentName2: description
  • argumentName3: description

Returns

Returns a table of resources.

Example

This function lists all loaded resources in the console.

function blabla ()
     --this does blabla
end

See Also