new highestid = INVALID_PLAYER_ID;for(new i; i<MAX_PLAYERS; i++){ if(GetPlayerScore(i) > GetPlayerScore(highestid))//GetPlayerScore or some variable to represent kills highestid = i;}