Bit rusty. Could use help on this for a moment.
#1

delete.
Reply
#2

Do it like this:

PHP код:
CMD:getmutes(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] < 2) return SCM(pid,COLOR_GREY,ERROR);
    new 
string[75], bool:count;
    for(new 
iMAX_PLAYERSi++)
    {
        if(!
IsPlayerConnected(i) || IsPlayerNPC(i) || !PlayerInfo[i][pMute]) continue;
        
format(string,sizeof(string), "Currently Muted: %s"GetName(i));
        
SendClientMessage(playeridCOLOR_GREENstring),count=true;
    }
        return (!
count) ? SCM(playerid,COLOR_GREY"No one is currently muted.") : 1;

Reply
#3

Fixed.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)