View Single Post
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 03-07-2015 , 15:37   Re: EmitSoundAny - Cross-game sound emitting (aka CS:GO compatible) (1.0.2, 2014-03-1
Reply With Quote #29

Hey, I tried using your .include with my Sound plugin but the Sound didn't play and I also didn't get any Error either the Client console and Server console.

My Code looks like the following:

Code:
public OnMapStart()
{
    AddFileToDownloadsTable(..);
    PrecacheSoundAny(..);
}
public EventRoundEnd(...) {
     for( new client = 1; client < MAXPLAYERS-2; client++){
			if(IsValidClient(client)){
                        EmitSoundToClientAny(client, "music/TPlayer/xlol.mp3", _, _, _, _, 1.0);
                        }
      }
}
Any clues what I may have done wrong?

Last edited by Totenfluch; 03-07-2015 at 15:37.
Totenfluch is offline