27.02.2010, 22:08
Quote:
Originally Posted by DarK TeaM PT
Hey all today i want know what is the diference of the
pawn Code:
pawn Code:
pawn Code:
pawn Code:
|
While works like this:
pawn Code:
stock Wait(interval)
{
new TickCount = GetTickCount();
while(GetTickCount() - TickCount < interval) DoNothing();
return true;
}
It is like "if", but it is repeating.
Break can be only used in "for" or "while".
It breaks current function.