|
不知道怎么改
192.168IP玩家调为cl_dlmax 80.其他玩家设为128,不知道怎么改。我想通过这个来测试服务器会不会经常踢人,谁来帮我吗
#include <amxmod>
public plugin_init()
{
register_plugin("CL_DLMAX","1.0","Anonymous")
register_cvar("sv_cl_dlmax","80")
}
public client_connect(id)
{
client_cmd(id,"cl_dlmax %d", get_cvar_num("sv_cl_dlmax"))
}
public client_authorized(id)
{
client_cmd(id,"cl_dlmax %d", get_cvar_num("sv_cl_dlmax"))
} |
|