Help please
#7

Right first off:

OnPlayerCommandText is for commands.
OnPlayerText is for normal game chat.

So I`d copy those lines in OnPlayerText and remove them from OnPlayerCommandText.

Can you show the lines of OnPlayerText that cause printing out what a player enters in his chatbox?

Basically you have to copy those lines like this:

Код:
public OnPlayerText(playerid, text[])
{
	if(PlayerData[playerid][Muted] == 1)
	{
		if(PlayerData[playerid][Level] >= 4)
		{
			// HERE SHOULD THE GENERAL OUTPUT LINES BE 
			return 1;
		}
		NMC(playerid,"[ NOTICE ] You are still muted !");
		return 0;
	}
Reply


Messages In This Thread
Help please - by The_Tough - 31.01.2010, 11:25
Re: Help please - by jasonnw666 - 31.01.2010, 11:26
Re: Help please - by ray187 - 31.01.2010, 11:29
Re: Help please - by jasonnw666 - 31.01.2010, 11:32
Re: Help please - by The_Tough - 31.01.2010, 11:34
Re: Help please - by jasonnw666 - 31.01.2010, 11:41
Re: Help please - by ray187 - 31.01.2010, 11:42

Forum Jump:


Users browsing this thread: 3 Guest(s)