Question about PlayAudioStreamForPlayer
#1

Hello i have question about PlayAudioStreamForPlayer.
I set this function in some commands, when a player uses command with this function, the chat he writes this:
Is it possible to remove it, if so, how?
Thanks in advance
Reply
#2

You can't remove the audio message server-wise. But only clients can toggle this by typing /audiomsg IG.
Reply
#3

I don't think it is possible to remove.. All you can do is clean chat after player type it... 5 or 6 blank messages are enough to clean the visible lines.

But if you make the links smaller possible, like using a radio server, so you use it's IP it doesn't look that bad..
Reply
#4

Thank you very much I knew about that command. Since I did some skripter, whether it can be adjusted when the player connects to the server automatically activates the command / audiomsg?
Reply
#5

I think SA-MP saves whether the player has toggled audio messages, but there is absolutely no way to toggle it script-wise. Maybe the development team will change that in later versions, but for now. You're outta luck.
Reply
#6

Yes it is saved in sa-mp.cfg in your documents/Gta User Files/SAMP folder.

Код:
fpslimit=90
multicore=1
audioproxyoff=0
timestamp=0
I have no idea if there is any way to force player to type a command, but i don't think so. Max you can do is placing a message with that command when player login.
Reply
#7

Now when I checked a player typing / audiomsg saved as he says ricardo178.
Thanks a lot everyone...
Reply
#8

I have just one question, if they can be inserted into a function or something that only certain players can use a command?
Reply
#9

Quote:
Originally Posted by Petricko
Посмотреть сообщение
I have just one question, if they can be inserted into a function or something that only certain players can use a command?
You can't mess with any command that comes with SA-MP. Those commands are hard-coded into SA-MP's source, and the development team doesn't want it to be touched.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)