|
发表于 2005-7-16 02:03:19
|
显示全部楼层
来自 中国–北京–北京–海淀区
Post by litiankai
我刚才在国外的论坛上找到一些内容,估计是解决此类问题的,以下是他的源代码,麻烦高手出来研究一下哦
利用插件来解决此问题?有意思的方法。
#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"))
} |
|