open.mp forum
[Pawn] PlayAudioStreamForPlayer URL - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] PlayAudioStreamForPlayer URL (/showthread.php?tid=2398)



PlayAudioStreamForPlayer URL - Torque - 2023-06-03

Is there a way to hide the URL that prints out when you run PlayAudioStreamForPlayer?


RE: PlayAudioStreamForPlayer URL - Ghecco - 2023-06-05

Hi, unfortunately it is not possible to set the rule to the server, each player can deactivate/activate it with the command: /audiomsg .
You can always clean up the chat if you want, using something like this: 
Code:
ClearPlayerChat(playerid)
{
    for(new i=0; i < 11; i++) {
        SendClientMessage(playerid, -1, " ");
    }
    return 1;
}