09.11.2010, 20:36
Hey guys, me again, pretty nobbish question?...
The thing is..
i have a code like this
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?
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;