#include < amxmodx >
#include < amxmisc >
 
#define START_SOUND    	"cso/Anna.mp3"
#define START_SOUND2	"cso/Journey_To_Transylvania.mp3"
#define START_SOUND3    	"cso/Transylvania_1887.mp3"

public plugin_init ( ) 
{
	register_plugin( "Music at start", "1.0", "BDT" );
    
	register_logevent ( "round_start", 2, "1=Round_Start" );
}
 
public plugin_precache ( ) 
{
	precache_sound ( START_SOUND )
	precache_sound ( START_SOUND2 )
	precache_sound ( START_SOUND3 )
} 
 
public round_start ( )
{
  	for ( new i = 1; i <= get_maxplayers ( ); i++ ) 
	{
    		if ( !is_user_connected ( i ) )
		{
      			continue;
		}
		
		switch ( random_num ( 1, 3 ) )
		{
			case 1: client_cmd ( 0,"mp3 play sound/cso/Anna" );
			case 2: client_cmd ( 0,"mp3 play sound/cso/Journey_To_Transylvania" );
			case 3: client_cmd ( 0,"mp3 play sound/cso/Transylvania_1887" );
		}
	}
}