I’ve seen this code from an old 2012 thread, and all the ones who reply act like SetMin/SetMax is actually normal for DProgress… wat?
[lua]local myProgressBar = vgui.Create( “DProgressBar” , DermaPanel)
myProgressBar:SetSize( 150, 40 )
myProgressBar:SetPos( 25, 25 )
myProgressBar:SetMin( 0 )
myProgressBar:SetValue(bum) – this is the “propamount” being displayed.[/lua]
Why cant I set the min/max for stuff and set the value? It is horribly inconvenient for it to have to be on a scale of 0 to 1 and it is incompatible with most variables.