SA-MP Forums Archive
Remove Audio Url Message [REP+] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Remove Audio Url Message [REP+] (/showthread.php?tid=538232)



Remove Audio Url Message [REP+] - SWGamer - 20.09.2014

Description:I need to know how to remove Audio URL Message.What to do?Gimme a example too.
REWARD:REP+


:Clucker:


Re: Remove Audio Url Message [REP+] - VishvaJeet - 20.09.2014

/audiomsg for On/Off


Re: Remove Audio Url Message [REP+] - Abagail - 20.09.2014

As far as I know it is impossible to do this server-side using the default function(PlayAudioStreamForPlayer). How-ever, it can be toggled via client(samp.cfg) via /audiomsg. The client must execute said command how-ever, the server has no control over it.

Unless you want to clear the entire chat the basic answer would be no(assuming your using the default function), how-ever using plug-ins it is possible I believe.

EDIT:
Quote:
Originally Posted by VishvaJeet
Посмотреть сообщение
/audiomsg for On/Off
This is not what he's looking for. He is looking for a server-sided solution(I believe - could be wrong).


Re: Remove Audio Url Message [REP+] - SWGamer - 20.09.2014

Need it to auto set for the player


Re: Remove Audio Url Message [REP+] - Abagail - 20.09.2014

You can't force them to execute a client command such as /audiomsg. You can how-ever use audio plug-ins for streaming URL audio. How-ever, with the default function there's no way.


Re: Remove Audio Url Message [REP+] - TakeiT - 20.09.2014

Not possible server side, though you could clear their chat like this:

pawn Код:
for(new i; i<20; i++)
{
    SendClientMessage(playerid, 0, " ");
}



Re : Remove Audio Url Message [REP+] - streetpeace - 20.09.2014

TakeiT's solution is the solution for this problem, there isn't an other solution for this.