Confusing
#3

Better use
pawn Код:
if(id > -1) {
//All things in here...
}
You can use continue; or break; only if you are in a compound block of loop..

Example:
pawn Код:
//Loop:
for (new index = 0; index < 32; index++)
{
      if (index == 16) continue; //this will skip Index 16.
      if (index == 22) break; //this will stop the loop when it reaches 22.
}

//Other:
function test2()
{
      if (5 != 7) continue; //<-- continue won't work/illogical or w/e?.
}
Reply


Messages In This Thread
Confusing - by FireCat - 28.01.2012, 18:15
Re: Confusing - by rinori - 28.01.2012, 18:45
Re: Confusing - by iPLEOMAX - 28.01.2012, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)