19.06.2010, 09:57
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?
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);
}
}
}
}

