Revision Difference
DForm:NumberWang#554085
<function name="NumberWang" parent="DForm" type="panelfunc">
<ispanel>yes</ispanel>⤶
<description>Adds a <page>DNumberWang</page> onto the <page>DForm</page></description>
<realm>Client and Menu</realm>
<args>
<arg name="label" type="string">The label to be placed next to the DNumberWang</arg>
<arg name="convar" type="string">The console variable to change when the slider is changed</arg>
<arg name="min" type="number">The minimum value of the slider</arg>
<arg name="max" type="number">The maximum value of the slider</arg>
<arg name="decimals" type="number" default="nil">The number of decimals to allow in the slider (Optional)</arg>
</args>
<rets>
<ret name="" type="Panel">The created <page>DNumberWang</page></ret>
<ret name="" type="Panel">The created <page>DLabel</page></ret>
</rets>
</function>