Clearchat command?
#5

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
Why not keep it simple?

Код:
CMD:cc(pid, params[])
{
	#pragma unused params
	for(new cc = 0; cc < 250; cc++)
	{
		SCMToAll(COLOR_WHITE, " ");
	}

	new name[MAX_PLAYER_NAME + 1];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "The chat has been cleared by {FF0000}%s", name);
	SCMToAll(COLOR_WHITE, string);
}
You were using first bracket wrong way around and you've missed quote mark after string formatting.
thanks.
How do I make it so pAdmin >= 3 does not get their chat cleared?
also this command to be available from pAdmin >= 1
Reply


Messages In This Thread
Clearchat command? - by JXF - 27.05.2016, 17:59
Re: Clearchat command? - by Bojan_Babic - 27.05.2016, 18:00
Re: Clearchat command? - by AbyssMorgan - 27.05.2016, 18:01
Re: Clearchat command? - by Riddick94 - 27.05.2016, 18:05
Re: Clearchat command? - by JXF - 27.05.2016, 18:44
Re: Clearchat command? - by Noris - 27.05.2016, 19:01
Re: Clearchat command? - by jlalt - 27.05.2016, 19:06
Re: Clearchat command? - by Problems - 27.05.2016, 19:07
Re: Clearchat command? - by PrO.GameR - 27.05.2016, 19:37
Re: Clearchat command? - by JXF - 27.05.2016, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)