I found workaround. It's ugly but seems to work :)
1. backup pev->flags for all players
2. then set every player FL_FAKECLIENT (except one we want to hear sound)
3. then just call EMIT_SOUND_DYN2 or EMIT_AMBIENT_SOUND or in my case PM_PlaySound
4. move backuped flags to pev->flags for all players
Thats right .. I need volume, attenuation and pitch.
I'm trying to make sound hack block for hlguard and have to keep those
settings same.
On Mon, 27 May 2002, botman wrote:
>
> I take it you don't want to use "play" on the client...
>
> CLIENT_COMMAND(pEdict, "play sounds/whatever.wav\n");
>
2 matches
Mail list logo