Mr.DeViLsS Posted August 24, 2016 Posted August 24, 2016 Hi. Please tell me how to make the range for the ScrollBar. For example, to the slider was only from 0 to 3, for example.
Mr.DeViLsS Posted August 24, 2016 Author Posted August 24, 2016 Why doesn't works "HorzRange in guiSetProperty?
LabiVila Posted August 24, 2016 Posted August 24, 2016 Is it a GUI scrollbar? If yes, then Wiki provides the best example: https://wiki.multitheftauto.com/wiki/GuiCreateScrollBar otherwise post your script so we can have a clue what you talkin' about
Mr.DeViLsS Posted August 24, 2016 Author Posted August 24, 2016 Is it a GUI scrollbar? If yes, then Wiki provides the best example: https://wiki.multitheftauto.com/wiki/GuiCreateScrollBarotherwise post your script so we can have a clue what you talkin' about elementGUI.scrollBar = guiCreateScrollBar ( 0.02, 0.85, 0.96, 0.04, true, true, elementGUI.window ) guiSetProperty ( elementGUI.scrollBar, "StepSize", 0.01 ) How to make the scroll range was from 0 to 3, for example. Or from 0 to 6 1
xyz Posted August 25, 2016 Posted August 25, 2016 onClientGUIScroll, guiScrollBarGetScrollPosition(scroll) / amount is what I use to limit the maximum
Mr.DeViLsS Posted August 27, 2016 Author Posted August 27, 2016 onClientGUIScroll, guiScrollBarGetScrollPosition(scroll) / amount is what I use to limit the maximum Thank you.
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