admincmd.sma的banip的修改问题
我想实现指定的IP不能被ban,在amxx1.6中的 admincmd.sma封闭IP有一段
if (contain(arg, ".") != -1)
{
server_cmd("addip ^"%s^" ^"%s^";wait;writeip", minutes, arg)
console_print(id, " Ip ^"%s^" added to ban list", arg)
} else {
server_cmd("banid ^"%s^" ^"%s^";wait;writeid", minutes, arg)
console_print(id, " Authid ^"%s^" added to ban list", arg)
}
我想实现指定的IP不能被ban,应该如何修改呢???
页:
[1]