Garry's Mod Wiki

Revision Difference

DVScrollBar:AddScroll#553659

<function name="AddScroll" parent="DVScrollBar" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Adds specified amount of scroll in pixels.</description> <realm>Client and Menu</realm> <args> <arg name="add" type="number">How much to scroll downwards. Can be negative for upwards scroll</arg> </args> <rets> <ret name="" type="boolean">True if the scroll level was changed (i.e. if we did or did not scroll)</ret> </rets> </function>