我之前也有类似的问题,以下是我的解决方法...
打开cstrike/addons/amxmodx/scripting里的zombie_plague40.sma,
找到以下这段...
----------------------------------------------------------------------------------
// Uncomment the following line to enable ambience sounds
#define AMBIENCE_SOUNDS -----这行前面若有
// 把它去掉就能播放音效了!!
#if defined AMBIENCE_SOUNDS // Ambience Sounds List (only .wav and .mp3 formats supported)
// Infection Rounds
new const sound_ambience1[][] = { "zombie_plague/ambience.wav" } // sounds (played randomly)
new const Float:sound_ambience1_duration[] = { 17.0 } // duration in seconds of each sound
// Nemesis Rounds
new const sound_ambience2[][] = { "zombie_plague/ambience.wav" }
new const Float:sound_ambience2_duration[] = { 17.0 }
// Survivor Rounds
new const sound_ambience3[][] = { "zombie_plague/ambience.wav" }
new const Float:sound_ambience3_duration[] = { 17.0 }
// Swarm Rounds
new const sound_ambience4[][] = { "zombie_plague/ambience.wav" }
new const Float:sound_ambience4_duration[] = { 17.0 }
// Plague Rounds
new const sound_ambience5[][] = { "zombie_plague/ambience.wav" }
new const Float:sound_ambience5_duration[] = { 17.0 }
#endif
-----------------------------------------------------------------------------------
播放秒数要和实际音效长度一样,不然音效还没播完就会断掉...
改完之后再转成amxx丢进资料夹就行了!!
你可以先试试看这个方法,希望有帮到你!!