Also wenn ich /ahelp eingebe, bekomme ich immer das Text nur von Test Supporter, und die rechtlichen nicht obwohl ich Admin Level 10 bin, woran liegts?
if(strcmp("/ahelp", cmdtext) == 0)
{
SendClientMessage(playerid,ROT,"|__________________________________________|");
if(isPlayerAnAdmin(playerid, 1) >= 1)
{
SendClientMessage(playerid,GELB,"Alle Adminbefehle von Rang 1-10");
SendClientMessage(playerid,BLAU,"Level 1: /kick");
}
if(isPlayerAnAdmin(playerid, 1) >= 2)
{
SendClientMessage(playerid,BLAU,"Level 2: /aoc");
}
if(isPlayerAnAdmin(playerid, 1) >= 3)
{
SendClientMessage(playerid,BLAU,"Level 3: /spawn");
}
if(isPlayerAnAdmin(playerid, 1) >= 4)
{
SendClientMessage(playerid,BLAU,"Level 4: /bsn");
}
if(isPlayerAnAdmin(playerid, 1) >= 5)
{
SendClientMessage(playerid,BLAU,"Level 5: /veh /sethp");
}
if(isPlayerAnAdmin(playerid, 1) >= 6)
{
SendClientMessage(playerid,BLAU,"Level 6: /tban /makeleader");
}
if(isPlayerAnAdmin(playerid, 1) >= 7)
{
SendClientMessage(playerid,BLAU,"Level 7: /restart");
}
if(isPlayerAnAdmin(playerid, 1) >= 8)
{
SendClientMessage(playerid,BLAU,"Level 8: /ban");
}
if(isPlayerAnAdmin(playerid, 1) >= 9)
{
SendClientMessage(playerid,BLAU,"Level 9: /setadmin");
}
if(isPlayerAnAdmin(playerid, 1) >= 10)
{
SendClientMessage(playerid,BLAU,"Level 10: ");
}
SendClientMessage(playerid,ROT,"|__________________________________________|");
return 1;
}