<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=OnResourceFileDownloaded</id>
	<title>OnResourceFileDownloaded - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gtaconnected.com/wiki/index.php?action=history&amp;feed=atom&amp;title=OnResourceFileDownloaded"/>
	<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=OnResourceFileDownloaded&amp;action=history"/>
	<updated>2026-05-12T07:05:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.gtaconnected.com/wiki/index.php?title=OnResourceFileDownloaded&amp;diff=11254&amp;oldid=prev</id>
		<title>Vortrex: Created page with &quot;{{ScriptItem2 |name = OnResourceFileDownloaded |side = client |type = event |games = iii vc sa iv |desc = a resource file is downloaded |arg1 = Resource resource The resource which the file downloaded for. |arg2 = String filePath The file path of the file, relative to the resource&#039;s folder |arg3 = bool downloaded Whether or not the file was downloaded. If false, the file was grabbed from the cache because it already matched the server&#039;s file. |cancel = false |exampleJS =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gtaconnected.com/wiki/index.php?title=OnResourceFileDownloaded&amp;diff=11254&amp;oldid=prev"/>
		<updated>2025-11-09T16:56:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ScriptItem2 |name = OnResourceFileDownloaded |side = client |type = event |games = iii vc sa iv |desc = a resource file is downloaded |arg1 = Resource resource The resource which the file downloaded for. |arg2 = String filePath The file path of the file, relative to the resource&amp;#039;s folder |arg3 = bool downloaded Whether or not the file was downloaded. If false, the file was grabbed from the cache because it already matched the server&amp;#039;s file. |cancel = false |exampleJS =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptItem2&lt;br /&gt;
|name = OnResourceFileDownloaded&lt;br /&gt;
|side = client&lt;br /&gt;
|type = event&lt;br /&gt;
|games = iii vc sa iv&lt;br /&gt;
|desc = a resource file is downloaded&lt;br /&gt;
|arg1 = Resource resource The resource which the file downloaded for.&lt;br /&gt;
|arg2 = String filePath The file path of the file, relative to the resource&amp;#039;s folder&lt;br /&gt;
|arg3 = bool downloaded Whether or not the file was downloaded. If false, the file was grabbed from the cache because it already matched the server&amp;#039;s file.&lt;br /&gt;
|cancel = false&lt;br /&gt;
|exampleJS = addEventHandler(&amp;quot;OnResourceFileDownloaded&amp;quot;, function(event, resource, filePath, downloaded)&lt;br /&gt;
	console.log(`Resource ${resource.name}&amp;#039;s file ${filePath} is (${downloaded} ? &amp;quot;downloaded&amp;quot; : &amp;quot;grabbed from cache&amp;quot;}`);&lt;br /&gt;
end)&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Vortrex</name></author>
	</entry>
</feed>