dcmd_admins(playerid, params[]) { #pragma unused params TestPrint("dcmd_admins(playerid, params[])"); if(AdminsOnline() == 0) return MLMSvitz(playerid, "[ ! ] 0 Admins Olnine", "[ ! ] 0 Admins Olnine"); new string[60]; for(new i=0;i<=MAX_PLAYERS_EX;i++) { if(IsPlayerConnected(i)) { if(IsPlayerAdmin(i) && Informace[i][AdminLevel] == 0) { format(string, 60, "[ On-line ] %s | [ RCON ]",Jmeno(i)); SystemMessage(playerid,string); } else if(Informace[i][AdminLevel] > 0 && !IsPlayerAdmin(i)) { format(string, 60, "[ On-line ] %s | [ LVL %d ]",Jmeno(i),Informace[i][AdminLevel]); SystemMessage(playerid,string); } else if(IsPlayerAdmin(i) && Informace[i][AdminLevel] > 0) { format(string, 60, "[ On-line ] %s | [ LVL %d + RCON ]",Jmeno(i),Informace[i][AdminLevel]); SystemMessage(playerid,string); } } } return true; } |