Salut, de cateva zile ma tot chinui cu comanda asta, /cc incerc sa fac una pentru un server de GF modificat care sa stearga chatul doar jucatorilor nu si adminlor, uitati ce am facut pana acum: [pawn] if(strcmp(cmd, "/clearchat", true) == 0 || strcmp(cmd, "/cc", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1 ) { for(new j = 0; j < MAX_PLAYERS; j++) { if(IsPlayerConnected(j)) { if(PlayerInfo[j][pAdmin] == 0) { for(new i = 0; i < 70; i++) SendClientMessage(i, COLOR_WHITE, " "); } else (PlayerInfo[j][pAdmin] >= 1 ) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "AdmWarning: %s has cleared the chat.", sendername); ABroadCast(COLOR_LIGHTRED,string,1); return 1; } } } } else { SendClientMessage(playerid, -1, "{F81414}[DENIED]:{FFFFFF} You are not authorized to use that command!"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not Logged in !"); } return 1; }[/pawn] V-as fi tare recunoscator daca ma ajutati.