wzh 发表于 2007-1-9 11:59:55

找到个反作弊插件(转自空中)

//-------------Force_cd_version and kick othea cdversion src by whlzyl337------------
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>
public plugin_init()
{
register_plugin("Change Rates","0.1","SweatyBanana")
register_concmd("amx_rate","rateForce",ADMIN_KICK,"amx_rate <part of nick> - Changes client settings.")
register_plugin("Cvar Client", "1", "Me")
}
public rateForce(id,level,cid)
{
if(!cmd_access(id,level,cid,2))
return 1
new TARGET
read_argv(1,TARGET,31)
new PLAYER = cmd_target(id,TARGET,7)
PLAYER = get_user_index(PLAYER)
set_user_info(PLAYER, "cd_version %i", 4.32.0)
client_print(PLAYER, print_console, "%s's need uesing cd 4.32.0",PLAYER)
return 1
}
public client_putinserver(id)
{
set_task(15.0, "verificacion", id, "b")
}

public verificacion(id)
{
if ( is_user_connected(id) )
query_client_cvar(id,"cd_version","result2")
}

public result2(id, const cvar[], const value[]){
new name
get_user_name(id, name, 31)
if(equal(value,"4.32.0"))
{
client_print(id,print_chat,"%s ***", value)
}
else
{
server_cmd("kick #%d ^"Please uesing CD 4.32.0 in this server to play^"",get_user_userid(id))
}
下面这个是反作弊超强源码,可有效防止透视\加速\摇头等作弊::d:

CS菜鸟鸟 发表于 2007-1-9 12:32:37

回复: 找到个反作弊插件(转自空中)

什么意思?意思是固定C-D在4。32。0
总的来说是摆脱不了需要CD的帮助

天堂鸟 发表于 2007-1-10 13:58:39

回复: 找到个反作弊插件(转自空中)

这个就是008的工作模式,楼主动作倒是快的嘛

Cs.K 发表于 2007-1-10 14:48:05

回复: 找到个反作弊插件(转自空中)

改为4..33.4有效果吗?
页: [1]
查看完整版本: 找到个反作弊插件(转自空中)