Problem
#1

Hello..

this is a script for read all cmds and who type any command..

i want to put the read cmds in color red, anyone know how?

Код:
//==============================================================================
// Read Commands (View commands typed per players)
//==============================================================================
	if(ServerInfo[ReadCmds] == 4)
	{
		format(string, sizeof(string), "*** %s (%d) Command: %s", pName(playerid),playerid,cmdtext);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
		if(IsPlayerConnected(i))
		{
		if( (AccInfo[i][Level] > AccInfo[playerid][Level]) && (AccInfo[i][Level] > 4) && (i != playerid))
		{
		SendClientMessage(i, grey, string);
		}
		}
		}
	}
Reply


Messages In This Thread
Problem - by RatHack - 19.06.2010, 09:57
Re: Problem - by Wasim_Cortez - 19.06.2010, 11:33
Re: Problem - by RatHack - 19.06.2010, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)