I haven't coded for a long time now, so I am getting rusty as hell.
I want to emit a sound from a player, and I want other players to hear it, like it decays over the distance between the player who emitted the sound and the one hearing it, just like the guy actually says the sound.
Since the funcwiki got lost there isn't much to learn on there, it only shows the syntax.
I am guessing I need to use the channel voice. I am using this:
PHP Code:
emit_sound(id, CHAN_VOICE, gDukeStart, 1.0, ATTN_NORM, 0, PITCH_NORM)
I can't test it for quite some time, so it would be nice to know.
__________________