for (new i = 0; i < sizeof(map);i++){ if(map[i] > mapcount) { NextdmmapByVote = i; mapcount = map[i]; }}