Individual Mute / Ignore - 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: Individual Mute / Ignore (
/showthread.php?tid=113509)
Individual Mute / Ignore -
Rhemsis - 14.12.2009
Is it possible to script a command such as /mute [id] so that a single player may ignore a specific player?
Ex:
Player 1: /mute 2
Player 2: I hate player 1 (in main chat)
Player 1: [does not see player 2's message]
Player 3: Player 1, you are swell
Player 1: [Sees Player 3's message.]
Re: Individual Mute / Ignore -
Danny_Costelo - 14.12.2009
Simply use variables, loop trough all players under OnPlayerText "if(ignore[i] == 1) return 0;", where i is the loop variable, return 0 doesn't send them the message.
Re: Individual Mute / Ignore -
Oxside - 14.12.2009
Maybe edit a normal mute script?