Hide Aduio Message
#1

How can I, server-sidedly, Hide the audio message "Audio Stream: http://linkhere.mp3" I KNOW it's possible... maybe through an include.... Please DON'T tell me what they players can do to stop it for themselves (I know about that), what can I do to stop it for everyone?

Thanks in avvance : jakejohnsonusa
Reply
#2

PHP код:
for(new 0MAX_PLAYERSi++)
{
    if(
IsPlayerConnected(i))
    {
        
StopAudioStreamForPlayer(i);
    }

Reply
#3

Thanks, but that's not what I mean... I want the music... I DON'T want the annoying Message that is has in the Chat Box.
Reply
#4

There's no way to set the player to do this.

You're going to have to tell them to /audiomsg in game.
Reply
#5

Like explained... he doesn't want that...

A way around this is to use Incognito's Audio plugin, it will allow you to stream audio files to players without the annoyance of the message.

https://sampforum.blast.hk/showthread.php?tid=82162
Hope it works out for you...
Reply
#6

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
Like explained... he doesn't want that...

A way around this is to use Incognito's Audio plugin, it will allow you to stream audio files to players without the annoyance of the message.

https://sampforum.blast.hk/showthread.php?tid=82162
Hope it works out for you...
Yes, maybe he did say that, but there is no other way around it than downloading a plugin that you don't need, as SA-MP has built in functions..

Maybe just don't bother with the audio messages? What is it? One line of SendClientMessage, what's the problem with that?
Reply
#7

Quote:
Originally Posted by iGetty
Посмотреть сообщение
Yes, maybe he did say that, but there is no other way around it than downloading a plugin that you don't need, as SA-MP has built in functions..

Maybe just don't bother with the audio messages? What is it? One line of SendClientMessage, what's the problem with that?
He never said anything about not giving him a plugin or include, so I gave him one. It's just one plugin, what's the problem with that? He wants an answer to solve his problem, and he has gotten one.
Reply
#8

It's that I'm working on an airhorn for Police Vehilces, and everytime they press it I don't want the message. I tried his plugin once, but I couldn't figure out how to stream a sound to where a player was.
Reply
#9

Код:
Audio_Set3DPosition(playerid, handleid, Float:x, Float:y, Float:z, Float:distance);
Also remember, there is an airhorn ID in GTA by default. You could always try:
pawn Код:
PlayerPlaySound(playerid, 3201, 0, 0, 0);
Reply
#10

The problem is is whats the handle ID?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)