XmlNodeSetName: Difference between revisions

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

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.

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