05.10.2015, 03:54
delete.
CMD:getmutes(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 2) return SCM(pid,COLOR_GREY,ERROR);
new string[75], bool:count;
for(new i; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i) || IsPlayerNPC(i) || !PlayerInfo[i][pMute]) continue;
format(string,sizeof(string), "Currently Muted: %s", GetName(i));
SendClientMessage(playerid, COLOR_GREEN, string),count=true;
}
return (!count) ? SCM(playerid,COLOR_GREY, "No one is currently muted.") : 1;
}