could someone write a rather simple code for mapchooser?
the code should have one/two if possible additional cvars :
sm mapchooser minvotes and
sm mapchooser minratio. as much as i understand the additional coding should check if the number/percentage of votes meets with the additional cvars and if not, it should do something like this
Quote:
ReplyToCommand(client, "[SM] %t", "Not enough votes for mapchange");
return Plugin_Handled;
|
dunno if its the right thing it should do. i want the plugin to discard the results of the vote and mapchooser NOT to set the next map (the next map would be set by randomcycle) when there arent enough votes.
can anyone help me out with this thing?