Its not a hard fix lol, he hasn't got a clue how the infinite scrolling works.
Yeah so, did you showed it him?Its not a hard fix lol, he hasn't got a clue how the infinite scrolling works.
I remember back a day when I had this issueThis Was Not Made By Me I'm Just Reconstructing The Base
So The Bug Happens Between Sub 5 & 20
Please Help Me Fix It
i fixed the whole base for him since he ****ed it good and proper.Yeah so, did you showed it him?![]()
lol, Infinite scrolling is simple once you understand it.I remember back a day when I had this issue
yea true i got it down now that i was able to compair the orginal to the one u guys helped fix ty by the way.lol, Infinite scrolling is simple once you understand it.
updateScrollbar()//infinite scrolling, 10 option's
{
if(self.menu.curs[self.CurMenu]<0)
self.menu.curs[self.CurMenu] = self.menu.menuopt[self.CurMenu].size-1;
if(self.menu.curs[self.CurMenu]>self.menu.menuopt[self.CurMenu].size-1)
self.menu.curs[self.CurMenu] = 0;
if(!isDefined(self.menu.menuopt[self.CurMenu][self.menu.curs[self.CurMenu]-5])||self.menu.menuopt[self.CurMenu].size<=10)//adding
{
for(i = 0; i < 10; i++)//10
{
if(isDefined(self.menu.menuopt[self.CurMenu][i]))
self.AIO["options"][i] setSafeText(self.menu.menuopt[self.CurMenu][i]);
else
self.AIO["options"][i] setSafeText("");
if(self.menu.curs[self.CurMenu] == i)
self.AIO["options"][i] affectElement("alpha", .2, 1);//current menu option alpha is 1
else
self.AIO["options"][i] affectElement("alpha", .2, .3);//every other option besides the current option
}
self.AIO["scrollbar"].y = -50 + (25*self.menu.curs[self.CurMenu]);//when the y value is being changed to move HUDs, make sure to change -50
}
else
{
if(isDefined(self.menu.menuopt[self.CurMenu][self.menu.curs[self.CurMenu]+5]))//adding 5+5 = 10 derp
{
xePixTvx = 0;
for(i=self.menu.curs[self.CurMenu]-5;i<self.menu.curs[self.CurMenu]+5;i++)//adding
{
if(isDefined(self.menu.menuopt[self.CurMenu][i]))
self.AIO["options"][xePixTvx] setSafeText(self.menu.menuopt[self.CurMenu][i]);
else
self.AIO["options"][xePixTvx] setSafeText("");
if(self.menu.curs[self.CurMenu]==i)
self.AIO["options"][xePixTvx] affectElement("alpha", .2, 1);//current menu option alpha is 1
else
self.AIO["options"][xePixTvx] affectElement("alpha", .2, .3);//every other option besides the current option
xePixTvx ++;
}
self.AIO["scrollbar"].y = -50 + (25*5);//25* number
}
else
{
for(i = 0; i < 10; i++)
{
self.AIO["options"][i] setSafeText(self.menu.menuopt[self.CurMenu][self.menu.menuopt[self.CurMenu].size+(i-10)]);
if(self.menu.curs[self.CurMenu]==self.menu.menuopt[self.CurMenu].size+(i-10))
self.AIO["options"][i] affectElement("alpha", .2, 1);//current menu option alpha is 1
else
self.AIO["options"][i] affectElement("alpha", .2, .3);//every other option besides the current option
}
self.AIO["scrollbar"].y = -50 + (25*((self.menu.curs[self.CurMenu]-self.menu.menuopt[self.CurMenu].size)+10));//when the y value is being changed to move HUDs, make sure to change -50
}
}
}
That's nice!i fixed the whole base for him since he ****ed it good and proper.