Originally posted by MrReekoFTWxDv2
Hey I been working on my MW3 Menu but when i added the scroll bar updater i keep getting a error
where it says if (i != scroll) the i is my error can someone help fix it
void UpdateScroll(int client, int scroll)
{
for(int i = 0; i <= MaxScroll[client]; ++i);
{
if (i != scroll)
{
FontScaleOverTime(Options[client][scroll - 1], 0.65, 185);
FontScaleOverTime(Options[client][scroll - 1], 0.65, 185);
if (scroll == 0) FontScaleOverTime(Options[client][MaxScroll[client]], 0.65, 185);
if (scroll == MaxScroll[client]) FontScaleOverTime(Options[client][0], 0.65, 185);
}
else
{
MoveOverTime(Scroller[client], 185,500,131 + (scroll * 25));
FontScaleOverTime(Options[client], 0.67, 185);
sleep(35);
}
}
sleep(185);