Quote:
Originally Posted by park4bmx
to get the highest score use this
pawn Код:
new highestid = INVALID_PLAYER_ID, highest = -1; for(new i = 0; i < MAX_PLAYERS; ++i) { if(GetPlayerScore(i) > highest) { highestid = i; highest = GetPlayerScore(i); } } if(highestid != INVALID_PLAYER_ID) { //your function... }
|
ok ty but i want the TOP 10 players /: