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.