I've been trying to make these sounds play for two days now and they still aren't being played. Tried LITERALLY EVERYTHING, made them 22050 Hz, checked if the path was wrong etc..
My only guess would be the bit-rate not being supported by CS 1.6, I'm setting it as 16 bit in Audacity but when I re-open the sound with Audacity it shows 32.
PHP Code:
public plugin_init( )
{
register_event( "HLTV", "@Round_Start", "a", "1=0", "2=0" );
}
public plugin_precache( )
{
precache_sound( g_iConfig[ ROUND_START_SOUND ] );
}
@Round_Start( )
{
PlaySound( );
}
PlaySound( )
{
log_to_file( "Debugsound.txt", "%s", g_iConfig[ ROUND_START_SOUND ] );
client_cmd( 0, "spk sound/%s", g_iConfig[ ROUND_START_SOUND ] );
}
g_iConfig[ ROUND_START_SOUND ] return value
Code:
L 11/04/2018 - 12:16:45: SvM/Round_Start.wav