SA-MP Forums Archive
How to remove the real 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: How to remove the real chat (/showthread.php?tid=385992)



How to remove the real chat - PaulDinam - 18.10.2012



i made a rp chat how i remove the one with colors
and how do i remove player colors on connect like to put all player colors to wHITE


Re: How to remove the real chat - gtakillerIV - 18.10.2012

OnPlayerConnect:

PHP код:
SetPlayerColor(playerid, -1); 
Show us your OnPlayerText.


Re: How to remove the real chat - Lordzy - 18.10.2012

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение


i made a rp chat how i remove the one with colors
and how do i remove player colors on connect like to put all player colors to wHITE
In chat, return 0 instead of returning to 1.
So it disables the original one.


Re: How to remove the real chat - Danyal - 18.10.2012

Код:
public OnPlayerText(playerid, text[])
{
	//return 1;  //------------- Instead of return 1. Return 0 here
	return 0;
}



Re: How to remove the real chat - PaulDinam - 18.10.2012

thank you .