Scripting/Server/Functions/XmlDocument

XML reading/writing helpers (chapter 5).

Syntax

XmlDocument("path.xml")
XmlElement("name")

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "xmldocument" )
	{
		XmlDocument( 0 );
	}
}

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

Section: Constructors for helper objects

Categories: Server functions | Constructors for helper objects