我之前也有類似的問題,以下是我的解決方法...
打開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丟進資料夾就行了!!
你可以先試試看這個方法,希望有幫到你!!