StefanAlmighty Posted June 10, 2016 Posted June 10, 2016 How do I set the size of the scroll bar (not the actual width/height) but how far you can scroll down using it. I made a scroll bar using guiCreateScrollBar and I want to config how much you can scroll.
Castillo Posted June 11, 2016 Posted June 11, 2016 You can set the scroll position back to the max value everytime the player scrolls it.
Simple0x47 Posted June 11, 2016 Posted June 11, 2016 Use these functions for a vertical scroll bar and if it's horizontal just change "Vertical" with "Horizontal": guiScrollPaneGetVerticalScrollPosition guiScrollPaneSetVerticalScrollPosition --Example code if guiScrollPaneGetVerticalScrollPosition(gui) >= 75 then guiScrollPaneSetVerticalScrollPosition(gui, 75) end
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now