I need to add a slider to my mod. This has to do more with android gui. If someone could provide an example of some code that would be great. Also there is a slider in Smartmoving beta but I need one that stays in place rather than resets. Thanks.
Well.... I don't know how to make the slider, but for the staying in place bit you could have a variable
var sliderOn = false;
//Then, when the slider is slid...
sliderOn==true;
//When you slider is loaded
if(sliderOn==true){
//Your Code
}
if(sliderOn==false){
//Your code
}
+1 if I helped
Rollback Post to RevisionRollBack
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
Well.... I don't know how to make the slider, but for the staying in place bit you could have a variable
var sliderOn = false;
//Then, when the slider is slid...
sliderOn==true;
//When you slider is loaded
if(sliderOn==true){
//Your Code
}
if(sliderOn==false){
//Your code
}
+1 if I helped
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
Thanks.