07.06.2011, 02:12
Yeah, I'm pretty friggen stumped on how to do this, originally I was trying something like this:
Excuse the indentation, wrote it in Opera. Now, of course, this did not work whatsoever, so I'm wondering how I would go about doing it in the simplest way possible.
pawn Код:
new
TopPlayers[6]; //5 top players
for(new i = 0; i < global_ConnectedPlayers; i++) {
if(PVar[i][Kills] > PVar[i][Kills]) {
TopPlayers[0] = i; }
else if(PVar[i][Kills] > PVar[i][Kills] && PVar[i][Kills] < TopPlayers[0]) {
TopPlayers[1] = i; }
}