PlaySound for player in MP (others to hear)

Sandbird

Valued Member!
I am trying to add a sound to an action a player does, but i want other players in the area to hear that sound from its original location.
Example: A player sleeping in a tent, will snore. A player next to him will hear it, another player in 10m will faintly hear it.
How do i add locality to sounds.

I know how to load them and play them:


Code:
class snore
{
    name="snore";
    sound[]={custom\snore.ogg,0.9,1};
    titles[] = {};
};
 
playSound "nitro";


Thanks
 
Back
Top