Scripting/Server/Classes/XML/XmlDocument

Creates a document object bound to a file path. Properties: Name.

Syntax

XmlDocument("path/file.xml")

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: XML

Categories: Server methods | XML