Clear Chat command for admin + A special line
#3

Код:
 	if(strcmp(cmdtext, "/clearchat", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
		{
			if(PlayerInfo[playerid][pAdmin] >= 1)
			{
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, " ");
				SendClientMessageToAll(COLOR_SYSTEM, "- THE CEREMONY BEGINS-");
				return 1;
			}
Try this, I am not sure if it works, but try it.
( I am a beginner in scripting, so don't blame me. )
Reply


Messages In This Thread
Clear Chat command for admin + A special line - by Puzi - 20.04.2009, 20:58
Re: Clear Chat command for admin + A special line - by Francis[French] - 20.04.2009, 21:03
Re: Clear Chat command for admin + A special line - by tehroxor - 20.04.2009, 21:04
Re: Clear Chat command for admin + A special line - by Francis[French] - 20.04.2009, 21:06
Re: Clear Chat command for admin + A special line - by Puzi - 20.04.2009, 21:10
Re: Clear Chat command for admin + A special line - by Francis[French] - 20.04.2009, 21:14
Re: Clear Chat command for admin + A special line - by Puzi - 20.04.2009, 21:20

Forum Jump:


Users browsing this thread: 2 Guest(s)