SA-MP Forums Archive
Mute Funtion, easy to help! - 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: Mute Funtion, easy to help! (/showthread.php?tid=240468)



Mute Funtion, easy to help! - ricardo178 - 15.03.2011

Hey guys.... I finishing my Rcon admin system but i need to know what is the function that make player muted... I tryed ****** it but fail...

Tryed too TogglePlayerChat but failed too...
Player help me!


Re: Mute Funtion, easy to help! - Serbish - 15.03.2011

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

There is also an example about the muting.


Re: Mute Funtion, easy to help! - ricardo178 - 15.03.2011

Lol, this fail....
Isn't there something just to don't allow player to chat?(write)


Re: Mute Funtion, easy to help! - Serbish - 15.03.2011

What other way you want, this is perfect.


Re: Mute Funtion, easy to help! - ricardo178 - 15.03.2011

I want to make a command... What could i put than in the loop?
If i put: if(mute[playerid] == 1) return 0 get errors... And this is not an implement, this just verify is player is muted or not!


Re: Mute Funtion, easy to help! - ricardo178 - 15.03.2011

NVM, solved, i have done it, anyway thanks!


Re: Mute Funtion, easy to help! - Steven82 - 15.03.2011

TIP:
When a post is done, don't post again...just edit your last post saying you fixed it. Thanks


Re: Mute Funtion, easy to help! - Serbish - 16.03.2011

Returning a ' 0 ' means that the message won't be showed in this case.


Re: Mute Funtion, easy to help! - AK47317 - 16.03.2011

yea...