For Cycles Ending?
#1

Hey guys, me again, pretty nobbish question?...

The thing is..
i have a code like this

Код:
for(new I;I<10;I++)
{
    if(IsPlayerInRangeOfPoint(playerid,5.0,Thing[I][X],Thing[I][Y],Thing[I][Z]);
    {
      if(Somethihg)
      {
          Some stuff here
      }
      else return SendClientmessage(playerid,COLOR,TExt);
     }
     else return  SendClientmessage(playerid,COLOR,TExt);
}
return 1;
Now, the thing is, i want to send a message IF the cycle ends without finding any match, i have tried checking if I = 10 but it bugs, so... i really dont kjnow what else to do, any ideas?
Reply


Messages In This Thread
For Cycles Ending? - by almighty - 09.11.2010, 20:36
Re: For Cycles Ending? - by Bessensap - 09.11.2010, 20:40
Re: For Cycles Ending? - by Mauzen - 09.11.2010, 20:46
Respuesta: Re: For Cycles Ending? - by almighty - 09.11.2010, 20:55

Forum Jump:


Users browsing this thread: 1 Guest(s)