Quote:
Originally Posted by clarencecuzz
pawn Код:
CMD:admins(playerid,params[]) // Admins command { SendClientMessage(playerid,blue,"[----Current on duty Administrators----]"); new Count = 0; for(new i = 0; i <MAX_PLAYERS; i++) { if(IsOnAdminDuty[i] == true) { if(PInfo[i][Level] > 0) { new aname[24],astring[124]; GetPlayerName(i,aname,sizeof(aname)); if(strcmp(aname, "Max", false) == 0) { format(astring,sizeof(astring),"Owner %s (Level: %d)",aname,PInfo[i][Level]); } else { format(astring,sizeof(astring),"%s (Level: %d)",aname,PInfo[i][Level]); } SendClientMessage(playerid,blue,astring); Count++; } else continue; } else continue; } if(Count == 0) { SendClientMessage(playerid, blue, "There Are Currently No Administrators On Duty."); } return 1; }
And yes, they will count underneath each other.
|
Thanks! i would rep you but i can't since i've already repped you yesterday