21.03.2010, 13:43
So here's an example:
So i want to stop the loop when the array equals to zero, and if the loop reaches it end and didn't find an array equaled to zero, then display the error message...
I can't seem to stop it, so please help, thank you.
pawn Код:
for(new i = 0; i < 5; i++)
{
if(something[i] == 0)
{
dosomething;
}
else
{
error;
}
}
I can't seem to stop it, so please help, thank you.