delete. -
AW: Bit rusty. Could use help on this for a moment. -
PHP код:
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;
}
Re: Bit rusty. Could use help on this for a moment. -