From Multi Theft Auto: Wiki
Revision as of 07:04, 21 December 2015 by Fabervox (talk | contribs)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function XmlNodeSetName needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

Sets the tag name of the specified XML node.


bool xmlNodeSetName ( xmlnode node, string name )

OOP Syntax Help! I don't understand this!

Method: xmlnode:setName(...)
Variable: .name
Counterpart: xmlNodeGetName

Required Arguments

  • node: the node to change the tag name of.
  • name: the new tag name to set.


Returns true if successful, false otherwise.



See Also