Need help
#7

Quote:
Originally Posted by cessil
try this
pawn Код:
CMD:mutelist(playerid, params[])
{
        new str[128];
        new count = 0;
        new name[MAX_PLAYER_NAME];
        SendClientMessage(playerid, Red, "Listing Currently Muted Players:");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && ainfo[i][Muted] > 0)
            {
                GetPlayerName(i, name, sizeof(name));
                format(str,sizeof(str),"%s~n~%s",name,str);
                count++;
            }
        }
        if(count != 0)
        {
            SPD(playerid, MUTED, DIALOG_STYLE_MSGBOX, "Muted Player", str, "Done", "Cancel");
        }
        if(count == 0)
        {
            SendClientMessage(playerid, Red, "SERVER : There are no muted players at the moment!");
        }
return 1;
}
okay thanks I'm going to try this now

Quote:
Originally Posted by DJDhan
My bots have pings ranging from 25 - 175.
No, I meant those said bot attackers that come in your server.
Reply


Messages In This Thread
Need help - by ViruZZzZ_ChiLLL - 20.06.2010, 13:07
Re: Need help - by ViruZZzZ_ChiLLL - 21.06.2010, 10:59
Re: Need help - by cessil - 21.06.2010, 11:17
Re: Need help - by DJDhan - 21.06.2010, 11:27
Re: Need help - by NewTorran - 21.06.2010, 11:28
Re: Need help - by DJDhan - 21.06.2010, 11:30
Re: Need help - by ViruZZzZ_ChiLLL - 21.06.2010, 11:54
Re: Need help - by ViruZZzZ_ChiLLL - 24.06.2010, 13:23
Re: Need help - by Hiddos - 24.06.2010, 13:28
Re: Need help - by ViruZZzZ_ChiLLL - 25.06.2010, 04:48

Forum Jump:


Users browsing this thread: 2 Guest(s)