#include <amxmodx>
new const PLUGIN[] = "El_Basi_Muzik";
new const VERSION[] = "1.0";
new const AUTHOR[] = "By.KinG";
new const Music[] = "lzr-baslangic.wav";
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_event("HLTV", "Event_Round_Start", "a", "1=0", "2=0");
register_logevent("beRE",2,"1=Round_End" );
}
public beRE(){
emit_sound(0,CHAN_AUTO,Music,VOL_NORM,ATTN_NORM,SND_STOP,PITCH_NORM);
}
public plugin_precache()
{
precache_sound(Music);
}
public Event_Round_Start()
{
set_task(10.0, "Sound_Start");
}
public Sound_Start()
{
emit_sound(0,CHAN_AUTO,Music,VOL_NORM,ATTN_NORM,0,PITCH_NORM);
}