11.08.2012, 21:22
Quote:
I think this will help. If not, reply.
pawn Код:
|
Код:
new highestmapvotes = -1; new draw = 0; for(new i = 0; i < sizeof(DerbyMapVotes); i++) { if(DerbyMapVotes[i] > highestmapvotes && draw == 0) { highestmapvotes = DerbyMapVotes[i]; } else if(DerbyMapVotes[i] > highestmapvotes && draw != 0) { draw = 0; } else if(DerbyMapVotes[i] == highestmapvotes) { draw++; } }