Hallo,
Also wenn ich /admins eingebe, stehe ich selber als Full Admin nicht da!
if(strcmp(cmdtext,"/admins", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid,GELB,"------------------------Admins------------------------");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(!isPlayerAnAdmin(i,1))
{
new string[128];
new adminname[30];
switch(GetPVarInt(playerid,"Adminlevel"))
{
case 0:{adminname="Nein";}
case 1:{adminname="{00FF5A}Supporter";}
case 2:{adminname="{572B54}Moderator";}
case 3:{adminname="{858BBB}Super Moderator";}
case 4:{adminname="{0000FF}Admin";}
case 5:{adminname="{FF0000}Fulladmin";}
}
format(string, 256, "{FF6E00}%s {FFFFFF}%s",adminname,PlayerName(i));
SendClientMessage(playerid,0x00FF00FF,string);
}
}
}
}
return 1;
}