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