|
楼主 |
发表于 2010-12-9 19:16:03
|
显示全部楼层
来自 中国–广东–广州
这个不错,确实解决了刷服问题,感谢楼主;
但是某些模式,并不是按局数来的,比如死亡服这些,如何改成每5分钟加载一次呢?
z051002 发表于 2010-12-9 18:57
#include <amxmodx>
#include <amxmodx>
public plugin_init()
{
register_plugin("checkmaster", "1.0", "Nickyxu")
set_task(300.8, "check", 95252, "", 0, "b")
}
public check()
{
server_cmd("setmaster remove 72.165.61.190:27010;setmaster add 72.165.61.190:27010")
server_cmd("setmaster remove 68.142.72.250:27010;setmaster add 68.142.72.250:27010")
server_cmd("setmaster remove 69.28.151.162:27010;setmaster add 69.28.151.162:27010")
} |
|