PlayAudioStreamForPlayer
#1

When I'm using PlayAudioStreamForPlayer always show me in chat something like this "Audio stream: (and here is my url stream)". Is there any way to stop showing this text?
Reply
#2

I dunno well, maybe you could make everyone type /audiomsg lmao. I tryed already to
pawn Код:
OnPlayerConnect(playerid)
{
     return OnPlayerCommandText(playerid, "/audiomsg");
}
Still i didnt found nothing different lmao
Reply
#3

I think you don't understand me. Just use
Код:
PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls");
and you will see that command send msg to chat.
Reply
#4

I'm in shock... why team SA-MP include message in this function? It's like put message "Object was create." in function CreateObject. Total absurdity!
Reply
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
So that you can't secretly steal another server's stream without your players noticing. If there were no messages I could just link to your stream and sap your bandwidth instead of mine and no-one would ever know.
Please do not blame me. I completely forgot that someone in such a way it could use.
Reply
#6

The only known way to fix this is by making a buffer large enough to hold the last 50 or whatever lines for every single player and setting the chat back to exactly that(after clearing it of course). That way it at least appears as if the message wasn't sent.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)