sampvoice icon indicating copy to clipboard operation
sampvoice copied to clipboard

Disabling listeners and speakers

Open luanargolodev opened this issue 4 years ago • 1 comments

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.

luanargolodev avatar Dec 29 '20 02:12 luanargolodev