Hallo, wenn ich InGame /ahelp mache sehe ich nur die Supporter Befehle, obwohl meine Rechte bis auf Variable 6 Server Leitung gehen.
Hier der Code:
ocmd:ahelp(playerid,params[])
{
if(GetPVarInt(playerid,"Online") == 0)return SendClientMessage(playerid,COLOR_GRAU,"Du bist nicht eingeloggt und kannst diesen Befehl nicht verwenden.");
if(GetPVarInt(playerid,"Adminduty") == 0)return SendClientMessage(playerid,COLOR_GRAU,"Du bist nicht im Admindienst.");
if(isPlayerAnAdmin(playerid,1))
{
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /kick | /gethere | /goto | /w | /aduty");
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /unspec | /spec | /checkgun | /o");
}
else if(isPlayerAnAdmin(playerid,2))
{
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /kick | /gethere | /goto | /w | /aduty");
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /unspec | /spec | /checkgun | /o");
SendClientMessage(playerid,COLOR_GELB,"*MODERATOR*: /spawn | /getip | /freeze | /unfreeze | /slap | /clearchat");
}
else if(isPlayerAnAdmin(playerid,3))
{
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /kick | /gethere | /goto | /w | /aduty");
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /unspec | /spec | /checkgun | /o");
SendClientMessage(playerid,COLOR_GELB,"*MODERATOR*: /spawn | /getip | /freeze | /unfreeze | /slap | /clearchat");
SendClientMessage(playerid,COLOR_GELB,"*ADMINISTRATOR*: /ban | /explode | /warn | /unwarn | /unban | /rac");
}
else if(isPlayerAnAdmin(playerid,4))
{
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /kick | /gethere | /goto | /w | /aduty");
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /unspec | /spec | /checkgun | /o");
SendClientMessage(playerid,COLOR_GELB,"*MODERATOR*: /spawn | /getip | /freeze | /unfreeze | /slap | /clearchat");
SendClientMessage(playerid,COLOR_GELB,"*ADMINISTRATOR*: /ban | /explode | /warn | /unwarn | /unban | /rac");
SendClientMessage(playerid,COLOR_GELB,"SUPER ADMINISTRATOR*: /heal | /armour");
}
else if(isPlayerAnAdmin(playerid,5))
{
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /kick | /gethere | /goto | /w | /aduty");
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /unspec | /spec | /checkgun | /o");
SendClientMessage(playerid,COLOR_GELB,"*MODERATOR*: /spawn | /getip | /freeze | /unfreeze | /slap | /clearchat");
SendClientMessage(playerid,COLOR_GELB,"*ADMINISTRATOR*: /ban | /explode | /warn | /unwarn | /unban | /rac");
SendClientMessage(playerid,COLOR_GELB,"*SUPER ADMINISTRATOR*: /heal | /armour");
SendClientMessage(playerid,COLOR_GELB,"*SERVER MANAGER*: /kickall");
}
else if(isPlayerAnAdmin(playerid,6))
{
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /kick | /gethere | /goto | /w | /aduty");
SendClientMessage(playerid,COLOR_GELB,"*SUPPORTER*: /unspec | /spec | /checkgun | /o");
SendClientMessage(playerid,COLOR_GELB,"*MODERATOR*: /spawn | /getip | /freeze | /unfreeze | /slap | /clearchat");
SendClientMessage(playerid,COLOR_GELB,"*ADMINISTRATOR*: /ban | /explode | /warn | /unwarn | /unban | /rac");
SendClientMessage(playerid,COLOR_GELB,"*SUPER ADMINISTRATOR*: /heal | /armour");
SendClientMessage(playerid,COLOR_GELB,"*SERVER MANAGER*: /kickall");
SendClientMessage(playerid,COLOR_GELB,"*SERVER LEITUNG*: /kill | /gotocords | /setadmin | /restart | /makeleader | /leaderuninvite");
}
return 1;
}
MfG