Garry's Mod Wiki

DProgress:SetFraction

  DProgress:SetFraction( number fraction )

Description

Sets the fraction of the progress bar. 0 is 0% and 1 is 100%.

Arguments

1 number fraction
Fraction of the progress bar. Range is 0 to 1 (0% to 100%).