It's in this part
Code:
else if (action == MenuAction_VoteEnd)
{
decl String:item[256], String:display[256], Float:percent;
new votes, totalVotes;
GetMenuVoteInfo(param2, votes, totalVotes);
GetMenuItem(menu, param1, item, sizeof(item), _, display, sizeof(display));
percent = GetVotePercent(votes, totalVotes);
PrintToChatAll("Scramble vote successful: %s (Received %i%% of %i votes)", display, RoundToNearest(100.0*percent), totalVotes);
new winner = StringToInt(item);
if (winner) ScrambleTeams();
}
item is a string with the vote absolute count winner, "1" for scramble or "0" if not.
Obviously the item = "1" case can be neglected for your change.
If item = "0" then (totalVotes - votes) is the number of people who voted "1".
So, your change would be :
Code:
if (winner || (totalVotes - votes) >= 5) ScrambleTeams();