XmlNodeSetName: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(add oop syntax)
mNo edit summary
Line 24: Line 24:
==See Also==
==See Also==
{{XML functions}}
{{XML functions}}
[[ru:XmlNodeSetName]]

Revision as of 07:04, 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.

Syntax

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

Returns true if successful, false otherwise.

Example

--TODO

See Also