if (strcmp(cmd, "/admins", true) == 0 || strcmp(cmd, "/supporter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_GRAD1, " ");
SendClientMessage(playerid, COLOR_GRAD1, " Admins und Supporter:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[pAdmin] >= 3)
{
GetPlayerName(i,sendername, sizeof(sendername));
format(string,sizeof(string)," %d* Admin: %s[%d] Nummer: %d",PlayerInfo[pAdmin],sendername,i,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[pAdmin] >= 4)
{
GetPlayerName(i,sendername, sizeof(sendername));
format(string,sizeof(string)," %d* Super Administrator: %s[%d] Nummer: %d",PlayerInfo[pAdmin],sendername,i,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[pAdmin] >= 2)
{
GetPlayerName(i,sendername, sizeof(sendername));
format(string,sizeof(string)," %d* Supporter/Moderator: %s[%d] Nummer: %d",PlayerInfo[pAdmin],sendername,i,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[pAdmin] >= 1)
{
GetPlayerName(i,sendername, sizeof(sendername));
format(string,sizeof(string)," %d* Supporter: %s[%d] Nummer: %d",PlayerInfo[pAdmin],sendername,i,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[pAdmin] >= 1339)
{
GetPlayerName(i,sendername, sizeof(sendername));
format(string,sizeof(string)," %d* Projektleiter: %s[%d] Nummer: %d",PlayerInfo[pAdmin],sendername,i,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[pAdmin] >= 1338)
{
GetPlayerName(i,sendername, sizeof(sendername));
format(string,sizeof(string)," %d* Co-Projektleiter: %s[%d] Nummer: %d",PlayerInfo[pAdmin],sendername,i,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[pSupporter] >= 1)
{
GetPlayerName(i,sendername, sizeof(sendername));
format(string,sizeof(string)," %d* Supporter: %s[%d] Nummer: %d",PlayerInfo[pSupporter],sendername,i,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
}
}
}
return 1; }
z.B Wenn man Adminlevel 1339 Ist soll Projektleiter sein,aber Ich nicht das wen man unter 1339 ist unter über 1339 ist