<?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=Erdem+kilic</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=Erdem+kilic"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/wiki/Special:Contributions/Erdem_kilic"/>
	<updated>2026-04-08T08:41:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=User:Erdem_kilic&amp;diff=29961</id>
		<title>User:Erdem kilic</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=User:Erdem_kilic&amp;diff=29961"/>
		<updated>2012-04-14T18:59:47Z</updated>

		<summary type="html">&lt;p&gt;Erdem kilic: *SGF|sKyTurK&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*SGF|sKyTurK&lt;/div&gt;</summary>
		<author><name>Erdem kilic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DownloadFile&amp;diff=29960</id>
		<title>DownloadFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DownloadFile&amp;diff=29960"/>
		<updated>2012-04-14T18:54:24Z</updated>

		<summary type="html">&lt;p&gt;Erdem kilic: /* Returns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function downloads a file from the HTTP server. This can only be used on files on the HTTP server associated with the MTA server and will only download files from within the folder of the resource that is calling it. The '''file''' should also be included in meta.xml with the '''download''' attribute set to &amp;quot;false&amp;quot;, see [[meta.xml]] for more details. If the file has been previously downloaded and the CRC matches, the file will not be downloaded again but [[onClientFileDownloadComplete]] will still run.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool downloadFile ( string fileName )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''fileName''': Indirmek için dosyanın adını başvuran bir dize&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
İade gerçek dosya indirme sıraya olup olmadığını, aksi takdirde false&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This client side event downloads a file when the resource has started.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- the function is called, since the local player never changes)&lt;br /&gt;
function onStart ( )&lt;br /&gt;
    downloadFile ( &amp;quot;test.txt&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, getRootElement(), onStart )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_utility_functions}}&lt;/div&gt;</summary>
		<author><name>Erdem kilic</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DownloadFile&amp;diff=29959</id>
		<title>DownloadFile</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DownloadFile&amp;diff=29959"/>
		<updated>2012-04-14T18:54:03Z</updated>

		<summary type="html">&lt;p&gt;Erdem kilic: /* Required Arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function downloads a file from the HTTP server. This can only be used on files on the HTTP server associated with the MTA server and will only download files from within the folder of the resource that is calling it. The '''file''' should also be included in meta.xml with the '''download''' attribute set to &amp;quot;false&amp;quot;, see [[meta.xml]] for more details. If the file has been previously downloaded and the CRC matches, the file will not be downloaded again but [[onClientFileDownloadComplete]] will still run.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool downloadFile ( string fileName )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments===&lt;br /&gt;
* '''fileName''': Indirmek için dosyanın adını başvuran bir dize&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if file download has been queued, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
'''Example 1:''' This client side event downloads a file when the resource has started.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- the function is called, since the local player never changes)&lt;br /&gt;
function onStart ( )&lt;br /&gt;
    downloadFile ( &amp;quot;test.txt&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, getRootElement(), onStart )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{Client_utility_functions}}&lt;/div&gt;</summary>
		<author><name>Erdem kilic</name></author>
	</entry>
</feed>