Normal Chat - 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)
+--- Thread: Normal Chat (
/showthread.php?tid=308607)
Normal Chat -
#Pwn. - 04.01.2012
Hello,
I want to remove the normal while pressing the button T.
I have script an chat with /c and I donґt want to use T to chat!
How I can remove this chat with T?
Re: Normal Chat -
Gooday - 04.01.2012
T---->
-----------------------------------------------------
/C *TEXT* |
-----------------------------------------------------
Re: Normal Chat -
Joe_ - 04.01.2012
return 0 under OnPlayerText, or return a message that says something along the lines of: "Type /c <text> to chat."
https://sampwiki.blast.hk/wiki/OnPlayerText
Re: Normal Chat -
Wesley221 - 04.01.2012
pawn Code:
public OnPlayerText(playerid, text[])
{
return 0;
}
That will prevent from talking with T, though i dont really get why you want that; since you can change the text you will type any way you like.