|
if( result < get_pcvar_float(gf_BF_Ratio) )
{
client_print(0,print_chat,"所有的投票不足30%,[ %s ] e被封IP %d 分钟", ga_PlayerName[gi_VoteStarter], get_pcvar_num(gi_BanTime))
ActualBan(gi_VoteStarter)
log_amx("[AMXX] The vote back fired at %s, he is banned for %d minutes", ga_PlayerName[gi_VoteStarter], get_pcvar_num(gi_BanTime))
}
if( result >= get_pcvar_float(gf_Ratio) )
{
client_print(0,print_chat,"投票成功, 作弊狗[ %s ] 被封IP %d 分钟.", ga_PlayerName[gi_Sellection], get_pcvar_num(gi_BanTime))
log_amx("T投票通过,Z作弊狗[ %s ]被封IP %d 分钟", ga_PlayerAuthID[gi_Sellection], get_pcvar_num(gi_BanTime))
ActualBan(gi_Sellection)
}
else
{
client_print(0,print_chat,"投票失败 !")
log_amx("投票失败了 !")
}
}
client_print(0,print_chat,"总玩家人数: %d ,参与投票人数: %s ,同意人数: %d .", gi_TotalPlayers, TotalVotes, ga_Choice[0])
return 0
}
|
|