Open anomal3 opened 2 months ago
Hey @anomal3 I'm not sure if I understand. You want players withing range to not be audible to you?
Currently peers[agent.ID].muteThem = false;
in your first foreach loop is making them audible
Hey @anomal3 I'm not sure if I understand. You want players withing range to not be audible to you?
Currently
peers[agent.ID].muteThem = false;
in your first foreach loop is making them audible
On the contrary, so that players can be heard within the range. And those who are outside the radius were not heard. But the problem is that the player can be heard both within the range and beyond the radius
Maybe I need to run the code not on the server but on the client?
@adrenak help me men pls.
The essence of my business is this, I don’t want to hear players who are outside the radius. That is, I should only hear those in the circle, everyone else is mute
Perhaps a schematic drawing will explain better than me?
Hi @anomal3 let's take this to Discord and we'll fix it there. Tomorrow is a holiday so I can sit down with you
I don't understand how to mute other players so they can't talk
What's wrong?
I'm fine getting the player ID of anyone in range, but how can I prevent him from speaking into my channel?