SA-MP Forums Archive
[Tutorial] Toggling Chat ON/OFF for a player - 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: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] Toggling Chat ON/OFF for a player (/showthread.php?tid=403893)



Toggling Chat ON/OFF for a player - deffo - 01.01.2013

Hello,

This is my second tutorial in samp forum, to explain about toggling chat for a player.

Tutorial Level: Beginner




Important points (Basics):
(If you know scripting basics, no need to read this part)





Implementation:




Command:


Drawbacks:


That is all!
thankyou


Re: Toggling Chat ON/OFF for a player - [HK]Ryder[AN] - 01.01.2013

Too Easy but well explained for beginners..Anyways +rep


Re: Toggling Chat ON/OFF for a player - [DOG]irinel1996 - 02.01.2013

pawn Code:
public OnPlayerText(playerid, text[]) {
    if (playerchatoff[playerid]) return SendClientMessage(playerid, -1, "Shut up man!");
    return 1;
}
Great tutorial for beginners.


Re: Toggling Chat ON/OFF for a player - gtakillerIV - 06.01.2013

Good job.


Re: Toggling Chat ON/OFF for a player - RedCrossER - 07.01.2013

Good well explainer for beginners