But you could also do (if I am right) this:

Code:
soundfunc()
{
trig = getent("trig_sound","targetname");

while(1)
{
trig waittill("trigger",player);
player playsound("sound");
}
}

So the sound is only played to the player... Don't know the difference between them, but thanks for the answer anyways