//Else if two different voteids recieved all the votes else if( votes_select == 2 ) { //If they recieved even votes if( votecount[0] == votecount[1] ) { //Give it to a random one client_print(0, print_chat, "Vote has tied. Choosing random from tied votes." ); winner( voteid[ random(2) ] ); } //Else if the first recieved the most else if( votecount[0] > votecount[1] ) //Give it to the first winner( voteid[0] ); //Else the second recieved the most else //Give it to the second winner( voteid[1] ); }