不同版本有不同的方法....
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
把 = 後的數字改掉就好了...