Есть ли у кого плагин, чтобы играла музыка в начале раунда в mp3
Код
#include <amxmodx>
new const s_Sound[][] = { "sound/zombie_plague/ZP_Siren1.mp3", "sound/zombie_plague/ZP_Siren2.mp3", "sound/zombie_plague/ZP_Siren3.mp3" }
public plugin_precache()
{
static i
for(i = 0; i < sizeof s_Sound; i++)
precache_generic(s_Sound[i])
}
public plugin_init()
{
register_plugin("New Round Sound", "1.1", "Shidla")
register_event("HLTV", "Event_Round_Start", "a", "1=0", "2=0")
}
public Event_Round_Start()
client_cmd(0, "mp3 play %s", s_Sound[random_num(0, sizeof s_Sound - 1)])
Естественно путь указывал. Файл загружается но не проигрывается.