不同版本有不同的方法....
zp 4.2 的话...
找出您的 zombie_plague40.sma
路径 cstrike\addons\amxmodx\scripting
在下方找到
// Extra Items: Weapons and their costs
new const g_extra_names[][] = { "火焰弹", "冰冻弹", "照明弹", "AWP 麦格农狙击枪", "M249 班用轻机枪", "SG550 连发狙击枪", "G3SG1 连发狙击枪" }
new const g_extra_items[][] = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade", "weapon_awp", "weapon_m249", "weapon_sg550", "weapon_g3sg1" }
new const g_extra_costs[] = { 6, 6, 6, 8, 10, 12, 12 }
// Extra Items: costs for Night Vision, Antidote, Zombie Madness, and Infection Bomb
new const g_extra_costs2[] = { 10, 15, 17, 20 }
把 { } 内的数字改掉...
之后转换为插件...
再来取代掉原来的zombie_plague40.amxx即可
zp 4.3的话...
找出您的 zombieplague.ini
路径cstrike\addons\amxmodx\configs
在下面找到...
[Extra Items: Weapons and their costs] //特殊道具:武器和它们的价格
NAMES = 火焰弹 , 冰冻弹 , 照明弹 , AWP 麦格农狙击枪 , M249 班用轻机枪 , SG550 连发狙击枪 , G3SG1 连发狙击枪
ITEMS = weapon_hegrenade , weapon_flashbang , weapon_smokegrenade , weapon_awp , weapon_m249 , weapon_sg550 , weapon_g3sg1
COSTS = 6 , 6 , 6 , 8 , 10 , 12 , 12
[Hard Coded Items Costs] //预设4种特殊道具的价格 (夜视镜,解毒剂,丧尸狂暴,病毒炸弹)
NIGHT VISION = 15
ANTIDOTE = 15
ZOMBIE MADNESS = 17
INFECTION BOMB = 20
把 = 后的数字改掉就好了...