16.01.2016, 23:12
PHP код:
#if READ_COMMANDS == true
format(string, sizeof(string), "*** %s(ID:%d) : '%s'", pName(playerid), playerid, cmdtext);
foreach(new i : Player)
{
if(User[i][accountAdmin] >= 1 && User[i][accountAdmin] > User[playerid][accountAdmin] && i != playerid)
{
if(IsPlayerAdmin(playerid) && !IsPlayerAdmin(i))
continue;
SendClientMessage(i, COLOR_GREY, string);
}
}
#endif