|
发表于 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 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|