Quick question about a loop
#2

pawn Код:
return 1;
tells the function / command that it has completed. This is turn, stops the loop (or if after the loops closing bracket, the rest of that specifc function/command)

pawn Код:
return 0;
however, tells the function / command that it failed to complete, and passes it to other scripts.
Reply


Messages In This Thread
Quick question about a loop - by Celson - 01.10.2010, 18:21
Re: Quick question about a loop - by Ash. - 01.10.2010, 18:22
Re: Quick question about a loop - by DeathOnaStick - 01.10.2010, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)