sampvoice
sampvoice copied to clipboard
Disabling listeners and speakers
I'm trying to disable stream listeners and speakers, but to no avail.
for (new i = 0; i <MAX_PLAYERS; i ++)
{
SvDetachSpeakerFromStream (lstream [playerid], i); // Disabling all speakers
SvDetachListenerFromStream (lstream [playerid], i); // Disabling all listeners
}
I'm using it this way, but to no avail. Still listening and talking in the stream.