Path to sound (1st argument) in
PrecacheSound is already relative to "sound" directory so you should remove "sound/" part.
Code:
PrecacheSound("test/test.mp3", true);
Same for
EmitSound* functions.
Code:
EmitSoundToClient(client, "test/test.mp3");
You can even create a macro for convenience.
Code:
#define MY_SOUND "test/test.mp3" // you can just change path here and don't have to change in other places
public void OnMapStart() {
PrecacheSound(MY_SOUND, true);
AddFileToDownloadsTable("sound/" ... MY_SOUND); // string concatenation (only during compilation)
}
// Somewhere in code
EmitSoundToClient(client, MY_SOUND);
__________________