Scripting/Server/Classes/XML/XmlElement

Creates a new element with that tag name. Properties: Name, Text (rw), Parent (r).

Syntax

XmlElement("tag")

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "xmlelement" )
	{
		XmlElement( 0 );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: XML

Categories: Server methods | XML