Difference between revisions of "XmlNodeSetName"

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Line 24: Line 24:
==See Also==
==See Also==
{{XML functions}}
{{XML functions}}

Revision as of 07:35, 21 December 2015

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