06.03.2009, 07:34 
	
	
	
		sorry, but i've searched on these forums and sa-mp wiki (just incase) for info on what 
 is and does.
	
	
	
	
Код:
while
while
while (expression is true)
{
   // you can do something here
}
new i = 0;
while (i < 5)
{
printf("%d",i);
i++;
}
| 
 
					Originally Posted by Rav  
it does exactly what it says 
Код: 
while (expression is true)
{
   // you can do something here
}
pawn Код: 
  | 
new i = 0;
new e = 0;
while(!i)
{
if (e > 5)
{
i = 1;
}
e++;
}
| 
 
					Originally Posted by Freestyler  
meh... 
 | 
| 
 
					Originally Posted by [FF 
Nimphious ] 
What can while be used for?  | 
| 
 
					Originally Posted by MenaceX^  
Quote: 
  | 
| 
 
					Originally Posted by iTails  
Quote: 
 Basically, you can do something, while doing something else. Common sense.  | 
| 
 
					Originally Posted by Norn  
Why isn't this used more? I rarely see it in any released scripts. 
 |