lhbwhy 发表于 2005-1-5 09:37:29

客户端没有最新cd,服务器端来个cd惩罚者烦恼不再拥有

http://www.amxmodx.org/forums/viewtopic.php?t=9065&highlight=cdpunisher
将其放在cstrike/addons/amxmodx/config/plugins/目录下
plugins.ini添加 cdpunisher.amxx
server.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
的确很棒

larnk 发表于 2005-1-5 11:54:00

但是这个插件有点问题,运行一段时间后会不起作用。
包括作者本人也说还在检查。不清楚是什么原因。

lhbwhy 发表于 2005-1-14 11:00:41

点通无高人
页: [1]
查看完整版本: 客户端没有最新cd,服务器端来个cd惩罚者烦恼不再拥有