<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vx89</id>
	<title>Multi Theft Auto: Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vx89"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Vx89"/>
	<updated>2026-04-22T12:30:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=Talk:DxDrawCircle&amp;diff=39031</id>
		<title>Talk:DxDrawCircle</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=Talk:DxDrawCircle&amp;diff=39031"/>
		<updated>2014-03-02T22:38:54Z</updated>

		<summary type="html">&lt;p&gt;Vx89: Created page with &amp;quot;Note: this function is rather slow when drawing a lot of circles (e.g 25 circles took ~7ms). Of course, measure and see how it works for you, if it is slow, consider using image ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Note: this function is rather slow when drawing a lot of circles (e.g 25 circles took ~7ms). Of course, measure and see how it works for you, if it is slow, consider using image with alpha and directX color tint instead. - vx89&lt;/div&gt;</summary>
		<author><name>Vx89</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39030</id>
		<title>XmlCopyFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39030"/>
		<updated>2014-03-02T22:27:52Z</updated>

		<summary type="html">&lt;p&gt;Vx89: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node.&lt;br /&gt;
The new file will not be saved to file system until [[xmlSaveFile]]() is called&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlCopyFile ( xmlnode nodeToCopy, string newFilePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''nodeToCopy:''' the [[xmlnode]] that is to be copied to a new document.&lt;br /&gt;
*'''newFilePath:''' the path of the file that is to be created, in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, to create a file named 'newfile.xml' with myNode as the root node in the resource 'ctf', it can be done from another resource this way: ''xmlCopyFile(myNode, &amp;quot;:ctf/newfile.xml&amp;quot;)''.&lt;br /&gt;
:If the file is to be in the current resource, only the file path is necessary, e.g. ''xmlCopyFile(myNode, &amp;quot;newfile.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the [[xmlnode]] of the copy if the node was successfully copied, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
In this example we will load an xml file (in the example config.xml) and create a copy in a new folder with the name of copy-config.xml:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local config = xmlLoadFile(&amp;quot;config.xml&amp;quot;)&lt;br /&gt;
-- create a copy of xml structure in memory&lt;br /&gt;
local newFile = xmlCopyFile(config, &amp;quot;copy/copy-config.xml&amp;quot;)&lt;br /&gt;
if newFile then&lt;br /&gt;
  -- write this new copy to a filesystem&lt;br /&gt;
  xmlSaveFile(newFile)&lt;br /&gt;
end&lt;br /&gt;
-- unload config xml node from memory if it will not be used anytime soon&lt;br /&gt;
xmlUnloadFile(config)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Vx89</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39029</id>
		<title>XmlCopyFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39029"/>
		<updated>2014-03-02T22:27:11Z</updated>

		<summary type="html">&lt;p&gt;Vx89: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node.&lt;br /&gt;
The new file will not be saved to file system until [[xmlSaveFile]]() is called&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlCopyFile ( xmlnode nodeToCopy, string newFilePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''nodeToCopy:''' the [[xmlnode]] that is to be copied to a new document.&lt;br /&gt;
*'''newFilePath:''' the path of the file that is to be created, in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, to create a file named 'newfile.xml' with myNode as the root node in the resource 'ctf', it can be done from another resource this way: ''xmlCopyFile(myNode, &amp;quot;:ctf/newfile.xml&amp;quot;)''.&lt;br /&gt;
:If the file is to be in the current resource, only the file path is necessary, e.g. ''xmlCopyFile(myNode, &amp;quot;newfile.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the [[xmlnode]] of the copy if the node was successfully copied, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
In this example we will load an xml file (in the example config.xml) and create a copy in a new folder with the name of copy-config.xml:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local config = xmlLoadFile(&amp;quot;config.xml&amp;quot;)&lt;br /&gt;
-- create a copy of xml structure in memory&lt;br /&gt;
local newFile = xmlCopyFile(config, &amp;quot;copy/copy-config.xml&amp;quot;)&lt;br /&gt;
-- write this new copy to a filesystem&lt;br /&gt;
xmlSaveFile(newFile)&lt;br /&gt;
-- unload config xml node from memory if it will not be used anytime soon&lt;br /&gt;
xmlUnloadFile(config)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Vx89</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39028</id>
		<title>XmlCopyFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39028"/>
		<updated>2014-03-02T22:26:36Z</updated>

		<summary type="html">&lt;p&gt;Vx89: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node.&lt;br /&gt;
The new file will not be saved to file system until [[xmlSaveFile]] is called&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlCopyFile ( xmlnode nodeToCopy, string newFilePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''nodeToCopy:''' the [[xmlnode]] that is to be copied to a new document.&lt;br /&gt;
*'''newFilePath:''' the path of the file that is to be created, in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, to create a file named 'newfile.xml' with myNode as the root node in the resource 'ctf', it can be done from another resource this way: ''xmlCopyFile(myNode, &amp;quot;:ctf/newfile.xml&amp;quot;)''.&lt;br /&gt;
:If the file is to be in the current resource, only the file path is necessary, e.g. ''xmlCopyFile(myNode, &amp;quot;newfile.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the [[xmlnode]] of the copy if the node was successfully copied, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
In this example we will load an xml file (in the example config.xml) and create a copy in a new folder with the name of copy-config.xml:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local config = xmlLoadFile(&amp;quot;config.xml&amp;quot;)&lt;br /&gt;
-- create a copy of xml structure in memory&lt;br /&gt;
local newFile = xmlCopyFile(config, &amp;quot;copy/copy-config.xml&amp;quot;)&lt;br /&gt;
-- write this new copy to a filesystem&lt;br /&gt;
xmlSaveFile(newFile)&lt;br /&gt;
-- unload config xml node from memory if it will not be used anytime soon&lt;br /&gt;
xmlUnloadFile(config)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Vx89</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39027</id>
		<title>XmlCopyFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39027"/>
		<updated>2014-03-02T22:26:15Z</updated>

		<summary type="html">&lt;p&gt;Vx89: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node.&lt;br /&gt;
The new file will not be saved to file system until xmlSaveFile() is called&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlCopyFile ( xmlnode nodeToCopy, string newFilePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''nodeToCopy:''' the [[xmlnode]] that is to be copied to a new document.&lt;br /&gt;
*'''newFilePath:''' the path of the file that is to be created, in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, to create a file named 'newfile.xml' with myNode as the root node in the resource 'ctf', it can be done from another resource this way: ''xmlCopyFile(myNode, &amp;quot;:ctf/newfile.xml&amp;quot;)''.&lt;br /&gt;
:If the file is to be in the current resource, only the file path is necessary, e.g. ''xmlCopyFile(myNode, &amp;quot;newfile.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the [[xmlnode]] of the copy if the node was successfully copied, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
In this example we will load an xml file (in the example config.xml) and create a copy in a new folder with the name of copy-config.xml:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local config = xmlLoadFile(&amp;quot;config.xml&amp;quot;)&lt;br /&gt;
-- create a copy of xml structure in memory&lt;br /&gt;
local newFile = xmlCopyFile(config, &amp;quot;copy/copy-config.xml&amp;quot;)&lt;br /&gt;
-- write this new copy to a filesystem&lt;br /&gt;
xmlSaveFile(newFile)&lt;br /&gt;
-- unload config xml node from memory if it will not be used anytime soon&lt;br /&gt;
xmlUnloadFile(config)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Vx89</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39026</id>
		<title>XmlCopyFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=XmlCopyFile&amp;diff=39026"/>
		<updated>2014-03-02T22:25:19Z</updated>

		<summary type="html">&lt;p&gt;Vx89: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Server client function}}&lt;br /&gt;
This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
xmlnode xmlCopyFile ( xmlnode nodeToCopy, string newFilePath )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''nodeToCopy:''' the [[xmlnode]] that is to be copied to a new document.&lt;br /&gt;
*'''newFilePath:''' the path of the file that is to be created, in the following format: '''&amp;quot;:resourceName/path&amp;quot;'''. 'resourceName' is the name of the resource the file is in, and 'path' is the path from the root directory of the resource to the file.&lt;br /&gt;
:For example, to create a file named 'newfile.xml' with myNode as the root node in the resource 'ctf', it can be done from another resource this way: ''xmlCopyFile(myNode, &amp;quot;:ctf/newfile.xml&amp;quot;)''.&lt;br /&gt;
:If the file is to be in the current resource, only the file path is necessary, e.g. ''xmlCopyFile(myNode, &amp;quot;newfile.xml&amp;quot;)''.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the [[xmlnode]] of the copy if the node was successfully copied, ''false'' if invalid arguments were passed.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
In this example we will load an xml file (in the example config.xml) and create a copy in a new folder with the name of copy-config.xml:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local config = xmlLoadFile(&amp;quot;config.xml&amp;quot;)&lt;br /&gt;
-- create a copy of xml structure in memory&lt;br /&gt;
local newFile = xmlCopyFile(config, &amp;quot;copy/copy-config.xml&amp;quot;)&lt;br /&gt;
-- write this new copy to a filesystem&lt;br /&gt;
xmlSaveFile(newFile)&lt;br /&gt;
-- unload config xml node from memory if it will not be used anytime soon&lt;br /&gt;
xmlUnloadFile(config)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{XML_functions}}&lt;/div&gt;</summary>
		<author><name>Vx89</name></author>
	</entry>
</feed>