Loop, adding more than 1. ( Expression has no effect)
#1

Hello, I've problems with trying to add more than 1 in loop.
Код:
for(new i = 15; i<200;i+5)
that gives me Expression has no effect, as well as I don't want to add i++ ) +1 each loop;

silly me, should have used i = i+5;
Reply
#2

I think you want this:
pawn Код:
for(new i = 15; i<200;i=i+5)
i=i+5 increases i for 5
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)