<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=AddFile</id>
	<title>AddFile - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.playonset.com/index.php?action=history&amp;feed=atom&amp;title=AddFile"/>
	<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=AddFile&amp;action=history"/>
	<updated>2026-04-21T08:47:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://dev.playonset.com/index.php?title=AddFile&amp;diff=4655&amp;oldid=prev</id>
		<title>BlueMountains: Created page with &quot;{{Info|Function|Server|1.4.1}}  {{FuncDescription|Registers a (client) file to this package.  This function only works in the index.lua script.}}  {{Fun...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dev.playonset.com/index.php?title=AddFile&amp;diff=4655&amp;oldid=prev"/>
		<updated>2021-01-11T12:04:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Info|Function|Server|1.4.1}}  {{FuncDescription|Registers a (client) file to this package.  This function only works in the &lt;a href=&quot;/wiki/packages#index.lua&quot; title=&quot;packages&quot;&gt;index.lua&lt;/a&gt; script.}}  {{Fun...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Info|Function|Server|1.4.1}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDescription|Registers a (client) file to this package.&lt;br /&gt;
&lt;br /&gt;
This function only works in the [[packages#index.lua|index.lua]] script.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncSyntax|AddFile(file)}}&lt;br /&gt;
&lt;br /&gt;
{{FuncParameters}}&lt;br /&gt;
{{FuncParam|file|The client file to register. Wildcards (*) are supported.}}&lt;br /&gt;
&lt;br /&gt;
{{FuncReturnValue|Returns &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; on success.}}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Lua&amp;quot;&amp;gt;&lt;br /&gt;
--index.lua&lt;br /&gt;
AddFile(&amp;quot;audio/sound.mp3&amp;quot;)&lt;br /&gt;
AddFile(&amp;quot;ui/*.html&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RelatedFunctions}}&lt;br /&gt;
* [[AddServerScript]]&lt;br /&gt;
* [[AddClientScript]]&lt;br /&gt;
* [[AddSharedScript]]&lt;br /&gt;
* [[AddFile]]&lt;/div&gt;</summary>
		<author><name>BlueMountains</name></author>
	</entry>
</feed>