06.08.2012, 17:18
Here's a way to do it, surely it's a better and easyier way but i can't come out with anything else at this moment:
Hope it helped
pawn Код:
new england, russia, iraq, mexico;
if(england > russia && iraq && mexico){
SendClientMessageToAll(COLOR_WHITE, "England have taken the lead");//do you thing here
}
else if(russia > england && iraq && mexico){
SendClientMessageToAll(COLOR_WHITE, "Russia have taken the lead");//do you thing here
}
else if(iraq > russia && england && mexico){
SendClientMessageToAll(COLOR_WHITE, "Iraq have taken the lead");//do you thing here
}
else{//this means that mexico is in the lead
SendClientMessageToAll(COLOR_WHITE, "Mexico have taken the lead");//do you thing here
}
![Cheesy](images/smilies/biggrin.png)