Scripting/Server/Functions/XmlDocument
XML reading/writing helpers (chapter 5).
Syntax
XmlDocument("path.xml")XmlElement("name")Arguments
- any "path.xml"
- any "name"
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "xmldocument" )
{
XmlDocument( 0 );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Constructors for helper objects
Categories: Server functions | Constructors for helper objects