|
发表于 2016-12-7 16:51:15
|
显示全部楼层
来自 中国–广东–深圳
自动添加服务器的插件.
#include <amxmodx>
#define PLUGIN "AddMaster"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
set_task(120.0,"add_master",1992,_,_,"a",10)
}
public add_master()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
server_cmd("setmaster add 68.142.72.250")
server_cmd("setmaster add 69.28.151.162")
server_cmd("setmaster add 69.28.151.178")
server_cmd("setmaster add 72.165.61.189")
server_cmd("setmaster add 72.165.61.190")
server_cmd("setmaster add 207.173.177.11")
server_cmd("setmaster add 207.173.177.12")
server_cmd("heartbeat")
} |
|