public FindHighestScore(){ new Player_Score_Save = 0; new Player_Score_ID = 0; new Player_Score_ID2 = 0; for(new i=0; i Player_Score_Save) { Player_Score_Save = GetPlayerScore(i); Player_Score_ID = i; } } } Player_Score_ID2 = -1; for(new i=0; i -1) { format(str1, STR_LEN, "Players with the highest score: %s %s", strFirstName, strSecondName); SendClientMessageToAll(COLOR_YELLOW, str1); }else{ format(str2, STR_LEN, "Player with the highest score: %s", strFirstName); SendClientMessageToAll(COLOR_YELLOW, str2); } }