Here ya go:
void SimpleSmoothScrollingremake()
{
float toPos;
if (optionCount > maxOptions)
{
if (currentOption > maxOptions)
{
toPos = (0.1f / 3) + ((maxOptions * 0.035f) + 0.110f);
}
else
{
toPos = (0.1f / 3) + ((currentOption * 0.035f) + 0.110f);
}
}
else
{
toPos = (0.1f / 3) + ((currentOption * 0.035f) + 0.110f);
}
if (scrollBarPos > toPos) {
scrollBarPos -= .001999f;
}
if (scrollBarPos < toPos) {
scrollBarPos += .001999f;
}
}
void SimpleSmoothScrollingremake()
{
float toPos;
if (optionCount > maxOptions)
{
if (currentOption > maxOptions)
{
toPos = (0.1f / 3) + ((maxOptions * 0.035f) + 0.110f);
}
else
{
toPos = (0.1f / 3) + ((currentOption * 0.035f) + 0.110f);
}
}
else
{
toPos = (0.1f / 3) + ((currentOption * 0.035f) + 0.110f);
}
if (scrollBarPos > toPos) {
scrollBarPos -= .001999f;
}
if (scrollBarPos < toPos) {
scrollBarPos += .001999f;
}
}
This account is currently banned
Ban reason: Multi
Ban reason: Multi