SA-MP Forums Archive
stop player from sending message to all. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: stop player from sending message to all. (/showthread.php?tid=221998)



stop player from sending message to all. - THE_KNOWN - 06.02.2011

erm.. the question says it all.


Re: stop player from sending message to all. - Zack9764 - 06.02.2011

Too general question... When the player types does it automatically send everyone that message? And you want him to not be able to talk at all?


Re: stop player from sending message to all. - Matej_ - 06.02.2011

Quote:
Originally Posted by Zack9764
Посмотреть сообщение
Too general question... When the player types does it automatically send everyone that message? And you want him to not be able to talk at all?
He wants to mute a player.

Anyways, download this filterscript (Mute+Unmute) & take a look at the script.

--> https://sampforum.blast.hk/showthread.php?tid=115901


AW: Re: stop player from sending message to all. - Nero_3D - 06.02.2011

Quote:
Originally Posted by Matej_
Посмотреть сообщение
He wants to mute a player.

Anyways, download this filterscript (Mute+Unmute) & take a look at the script.

--> https://sampforum.blast.hk/showthread.php?tid=115901
The download link in your link is borken :S


Re: AW: Re: stop player from sending message to all. - Matej_ - 06.02.2011

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
The download link in your link is borken :S
Damn

Try this then --> Click!


Re: stop player from sending message to all. - Calgon - 06.02.2011

If you want to block a player from submitting a message that is sent to the entire server in normal chat, then you can return 0 in OnPlayerText for that player.

https://sampwiki.blast.hk/wiki/OnPlayerText


Re: stop player from sending message to all. - THE_KNOWN - 06.02.2011

thank you very much calgonator =]