16.05.2009, 22:15
Код:
if(!strcmp(cmdtext, "/ignorelist",true) || !strcmp(cmdtext, "/il",true)) { SendClientMessage(playerid, 0x2641FEAA, "Ignoring:"); new count; for(new i=0; i<GetMaxPlayers(); i++) { if(MyIgnoredPlayers[playerid][i] >= 1) { GetPlayerName(i,playername,sizeof(playername)); format(string, sizeof(string), "%s (%d)", playername, i); SendClientMessage(playerid, 0xFFFFFFAA, string); count++; } } if(!count) SendClientMessage(playerid, COLOR_RED, "No One."); return 1; }