Garry's Mod Wiki

Revision Difference

DProgress:SetFraction#554363

<function name="SetFraction" parent="DProgress" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Sets the fraction of the progress bar. 0 is 0% and 1 is 100%.</description> <realm>Client and Menu</realm> <args> <arg name="fraction" type="number">Fraction of the progress bar. Range is 0 to 1 (0% to 100%).</arg> </args> </function>