Garry's Mod Wiki

Revision Difference

resource.AddSingleFile#517502

<function name="AddSingleFile" parent="resource" type="libraryfunc"> <description> Adds the specified file to the files the client should download. ⤶ <note>There's a 8192 downloadable file limit. If you need more, consider using Workshop addons - <page>resource.AddWorkshop</page>. You should also consider the fact that you have way too many downloads. This limit is shared among all resource.Add functions.</note>⤶ <warning>There's a 8192 downloadable file limit. </warning>⤶ <note>If you need more than 8192, consider using Workshop addons - <page>resource.AddWorkshop</page>. You should also consider the fact that you have way too many downloads. This limit is shared among all resource.Add functions.</note>⤶ </description> <realm>Server</realm> <args> <arg name="path" type="string">Path of the file to be added, relative to garrysmod/</arg> </args> </function>