Garry's Mod Wiki

Panel:GWEN_SetMax

  Panel:GWEN_SetMax( number maxValue )

Description

This is used internally - although you're able to use it you probably shouldn't.

Used by Panel:ApplyGWEN to apply the Max property to a DNumberWang, Slider, DNumSlider or DNumberScratch. This calls SetMax on one of the previously listed methods.

Arguments

1 number maxValue
The maximum value the element is to permit.