搜索
查看: 5825|回复: 23

【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见6楼]

[复制链接]
发表于 2006-3-10 17:02:14 | 显示全部楼层 |阅读模式 来自 中国–上海–上海–松江区
已修改,见6楼....

这个插件除了限制 NOCD & OLDCD 玩家的武器之外,还能使 NOCD & OLDCD 玩家损失金钱......

由于E文比较简单,未做翻译,以下为安装部分..........

amxx1.0
Installation:
Put CDpunisher.amx in your amx plug-in directory and add CDpunisher.amx to your plugins.ini file. Remove cdvalidatecmd, cdnovalidatecmd, cdoldvalidatecmd and set cdrequired to 0 in server cfg files. Then add these cvars to your server.cfg (改为amxx.cfg)

// Begin cfg
// These values are the recomended values. Please feel free to change them.

// This part of a message that will be displayed to NO C-D players.
// Try to limit the number of charecters to something that will fit in one line.
cdpunish_message "DO NOT ASK ADMINS ABOUT CHEATING DEATH! YOU'VE BEEN WARNED!"

cdpunish_disarm 2 // 0=off 1=no cd only 2=old cd and no cd
cdpunish_requireauth 1 // 0=Trusted 1=Treat as No C-D 2=As Old C-D
cdpunish_moneymanager 1 // 1=on 0=off

// cdpunish_cdauthmoney, cdnoauthmoney and cdoldauthmoney
// are intergers that represent a percentage of money that will be
// added or subtracted from the players winnings each time they make
// money. That will be when they spawn, when the get a kill, when
// they rescue a hostage and so on.
// to set no loss and no gain use 100
// to set 60% loss use 60
// to set 30% gain use 130
cdpunish_cdauthmoney 110 // If C-D gives +10%
cdpunish_cdnoauthmoney 20 // if No C-D subtracts 80%
cdpunish_cdoldauthmoney 50 // if Old C-D subtracts 50%

// The following are the weapon restriction rules.
// 0 = unrestricted
// 1 = No C-D restricted
// 2 = No C-D and Old C-D restricted
// By default all restrictions are off
cdpunish_p228 1
cdpunish_shield 1
cdpunish_scout 1
cdpunish_xm1014 1
cdpunish_mac10 1
cdpunish_aug 2
cdpunish_elite 1
cdpunish_fiveseven 1
cdpunish_ump45 1
cdpunish_sg550 2
cdpunish_galil 2
cdpunish_famas 2
cdpunish_usp 0
cdpunish_glock18 0
cdpunish_awp 2
cdpunish_mp5navy 2
cdpunish_m249 1
cdpunish_m3 1
cdpunish_m4a1 2
cdpunish_tmp 1
cdpunish_g3sg1 2
cdpunish_deagle 1
cdpunish_sg552 2
cdpunish_ak47 2
cdpunish_p90 1
cdpunish_awp 2
cdpunish_hegrenade 2
cdpunish_flashbang 1
cdpunish_smokegrenade 1
cdpunish_nvgs 1
cdpunish_defuser 1
cdpunish_vest 0
cdpunish_vesthelm 0
cdpunish_primammo 0
cdpunish_secammo 0
// End cfg

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
 楼主| 发表于 2006-3-12 12:31:08 | 显示全部楼层 来自 中国–上海–上海–松江区

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件

由于发贴时比较匆忙,未做过多的介绍,本人在amxx1.0+CS1.5测试通过+amxx1.6_en(未测试),大致功能如下:
1、此插件检查玩家(包括OP)是否开启CD或开启了旧版CD,然后在玩家ID前面加上[NO-CD]或[OLD-CD]
2、[NO-CD]的玩家只能拥有刀,能带包但不能埋包;[OLD-CD]的玩家能拥有USP、GLOCK、刀....等非主战武器,当然OP也可以设置[OLD-CD]的玩家只能使用刀。
3、增加了另外一个功能:开启CD的玩家奖励已有金钱的10%,[NO-CD]的玩家将损失已有金钱的80%(如:某个[NO-CD]的玩家本局结束拥有$1000,那么下局开始只有$200啦);[OLD-CD]的玩家将损失已有金钱的50%(如:某个[OLD-CD]的玩家本局结束拥有$1000,那么下局开始只有$500啦)
4、安装就是楼上的// Begin cfg.........// End cfg复制到amxx.cfg,至于插件的安装就不用说了吧
cdpunish_message "DO NOT ASK ADMINS ABOUT CHEATING DEATH! YOU'VE BEEN WARNED!"
cdpunish_disarm 2 // 0=off 1=no cd only 2=old cd and no cd
cdpunish_requireauth 1 // 0=Trusted 1=Treat as No C-D 2=As Old C-D
cdpunish_moneymanager 1 // 1=on 0=off
cdpunish_cdauthmoney 110 // If C-D gives +10%
cdpunish_cdnoauthmoney 20 // if No C-D subtracts 80%
cdpunish_cdoldauthmoney 50 // if Old C-D subtracts 50%
这些命令可以根据自己需要自行修改的。
5、特把.sma文件放上来。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

发表于 2006-3-12 15:28:22 | 显示全部楼层 来自 中国–浙江–温州

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

能在AMXX1.6下使用吗?

还有感觉NOCD和OLDCD.......OLDCD基本上都是作弊的...所以要严惩OLDCD的.
能不能改成这样:
对NOCD进行武器限制和金钱限制,都可自定义,对OLDCD一律KICK.
最好KICK后有个提示!

纯属个人看法,并不知道开发难度!
回复

使用道具 举报

发表于 2006-3-13 12:47:11 | 显示全部楼层 来自 中国–广东–佛山–顺德区

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

晕,这个插件的文件怎么不是****.amx这样样子的,怎么个安装啊???
回复

使用道具 举报

发表于 2006-3-13 16:26:58 | 显示全部楼层 来自 中国–福建–厦门

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

那个是需要编译的....放到scripting里,运行compile.exe,在compiled里就有你要的amx文件了
回复

使用道具 举报

 楼主| 发表于 2006-5-10 16:46:53 | 显示全部楼层 来自 中国–上海–上海–松江区

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

特别修改了一下,取掉了声效...请需要的网友重新下载,1、2楼的就不要再下了......

分别用于amxx1.6和amxx1.0...

amxx1.6版本由WZF828汉化,特别说明.....

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

发表于 2006-5-10 16:52:29 | 显示全部楼层 来自 中国–辽宁–鞍山–海城市

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

没有CN啊~~~
汉化没啊~~~~
回复

使用道具 举报

发表于 2006-5-10 17:28:17 | 显示全部楼层 来自 中国–福建–泉州–永春县

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

oldcd?这个怎么说??
回复

使用道具 举报

发表于 2006-5-10 17:39:38 | 显示全部楼层 来自 中国–辽宁–鞍山–海城市

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

是老CD的意思~~~~:cold:
回复

使用道具 举报

发表于 2006-5-11 13:12:16 | 显示全部楼层 来自 中国–山东–烟台–龙口市

回复: 【分享】惩罚及限制 NOCD & OLDCD 玩家的插件[已修改,见2楼]

网络: ADSL 100MB ------------- NB
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表