AFAIK there's still no good plugin for forcing the round to end.
What if we would tranfer players for example from T team to CT, while T team has at least one dead player? After that we could transfer those players back. It should be instant, so players shouldn't even notice that. Only the server would notice that all T players had left T team and the CT team would be announced as the winner.
Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init()
register_concmd("amx_teamwin", "cTeamWin", ADMIN_BAN, "<ct|t> - end round by win of a specifig team");
public cTeamWin(iCl, iLevel, iCmd)
{
if (!cmd_access(iCl, iLevel, iCmd, 2))
{
console_print(iCl, "You have no access to that command");
return PLUGIN_HANDLED;
}
new szArg[2];
read_argv(1, szArg, 1);
switch (szArg)
{
case 'c': sTransfer(1); // Transfer Ts
case 't': sTransfer(2); // Transfer CTs
default: console_print(iCl, "Usage: amx_teamwin <ct|t>");
}
return PLUGIN_HANDLED;
}
stock sTransfer(iTeam)
{
// Transfer code
}
__________________