|
发表于 2009-2-19 00:22:52
|
显示全部楼层
|阅读模式
来自 中国–黑龙江–哈尔滨
#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")
} |
|