read cmds
#4

Код:
if (strcmp(cmdtext,"/register",true,9) != 0 && strcmp(cmdtext,"/login",true,6) != 0)
{
	new string[128];
	format(string, sizeof(string), "*** %s (%d) typed: %s", PlayerName(playerid),playerid,cmdtext);
	for (new i = 0; i < MAX_PLAYERS; i++)
	{
		if (!IsPlayerConnected(i))
		  continue;
		if (PlayerData[i][Level] < 1) || i == playerid)
		  continue;

		SendClientMessage(i, COLOR_GREY, string);
	}
}
Reply


Messages In This Thread
read cmds - by Flo_White - 24.02.2009, 22:37
Re: read cmds - by Mikep - 24.02.2009, 23:32
Re: read cmds - by Flo_White - 25.02.2009, 00:04
Re: read cmds - by [RP]Rav - 25.02.2009, 07:02
Re: read cmds - by Flo_White - 25.02.2009, 08:46

Forum Jump:


Users browsing this thread: 1 Guest(s)