XmlNodeSetName: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
(add oop syntax)
Line 8: Line 8:
bool xmlNodeSetName ( xmlnode node, string name )
bool xmlNodeSetName ( xmlnode node, string name )
</syntaxhighlight>
</syntaxhighlight>
{{OOP||[[xmlnode]]:setName|name|xmlNodeGetName}}


===Required Arguments===
===Required Arguments===

Revision as of 20:25, 2 January 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