/clearchat command help
#1

Hello, i have a /clearchat command and i want it so it only clears my chat. right now it will clear everyones chat. Can someone help. Here is the code

Код:
CMD:clearchat(playerid, params[])
{
	foreach(Player, i)
	{
		if(PlayerInfo[playerid][pAdmin] >= 2)
		{
			for(new e = 0; e < 4; e++) ClearChatbox(i);
		}
	}
	return 1;
}
Reply


Messages In This Thread
/clearchat command help - by Godzilla8957 - 21.05.2015, 01:25
Re: /clearchat command help - by SickAttack - 21.05.2015, 01:34
Re: /clearchat command help - by icra - 21.05.2015, 01:39

Forum Jump:


Users browsing this thread: 1 Guest(s)