Garry's Mod Wiki

Revision Difference

engine.WriteDupe#518517

<function name="WriteDupe" parent="engine" type="libraryfunc"> <description>Saves a duplication as a file.</description> <realm>Client</realm> <args> <arg name="dupe" type="string">Dupe table, encoded by &lt;page&gt;util.TableToJSON&lt;/page&gt; and compressed by &lt;page&gt;util.Compress&lt;/page&gt;</arg>⤶ <arg name="jpeg" type="string">The dupe icon, created by &lt;page&gt;render.Capture&lt;/page&gt;</arg>⤶ <arg name="dupe" type="string">Dupe table, encoded by <page>util.TableToJSON</page> and compressed by <page>util.Compress</page></arg>⤶ <arg name="jpeg" type="string">The dupe icon, created by <page>render.Capture</page></arg>⤶ </args> </function>