/ah Befehl Problem

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Guten Tag,
    Ich wollte einen /ah Befehl machen, und ich bin als Adminlevel 7 eingeloggt, aber kann mir nur die Befehle von Adminlevel 1 angucken!


    dcmd_ah(playerid,params[])
    {
    #pragma unused params
    if(IstSpielerAdmin(playerid,1))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a ");
    return 1;
    }
    else if(IstSpielerAdmin(playerid,2))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe");
    return 1;
    }
    else if(IstSpielerAdmin(playerid,3))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    return 1;
    }
    else if(IstSpielerAdmin(playerid,4))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    return 1;
    }
    else if(IstSpielerAdmin(playerid,5))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon");
    return 1;
    }
    else if(IstSpielerAdmin(playerid,6))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin");
    return 1;
    }
    else if(IstSpielerAdmin(playerid,7))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin | /gmx");
    return 1;
    }
    return 1;
    }
    Bitte helft mir!

  • DU musst das else vor dem If wegmachen,
    denn du fragst ab ober ALevel 1 ist und wenn er es ist geht er ganz runter und returnt.
    Wenn du das else wegmachst fragt der alle if-Schleifen ab.


    So ist es RICHTIG:


    dcmd_ah(playerid,params[])
    {
    #pragma unused params
    if(IstSpielerAdmin(playerid,1))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a ");
    return 1;
    }
    if(IstSpielerAdmin(playerid,2))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe");
    return 1;
    }
    if(IstSpielerAdmin(playerid,3))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    return 1;
    }
    if(IstSpielerAdmin(playerid,4))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    return 1;
    }
    if(IstSpielerAdmin(playerid,5))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon");
    return 1;
    }
    if(IstSpielerAdmin(playerid,6))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin");
    return 1;
    }
    if(IstSpielerAdmin(playerid,7))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin | /gmx");
    return 1;
    }
    return 1;
    }

  • Ich habe das so, vielleicht kannst du dir da was abgucken:



    ocmd:ahelp(playerid,params[])
    {
    if(GetPVarInt(playerid,"Adminlevel") == 1)
    {
    SendClientMessage(playerid,GRÜN,"Probe Supporter");
    SendClientMessage(playerid,GRAU,"/aduty || /o || /a");
    }
    else if(GetPVarInt(playerid,"Adminlevel") == 2)
    {
    SendClientMessage(playerid,GRÜN,"Supporter");
    SendClientMessage(playerid,GRAU,"/aduty || /o || /goto BSN/SPAWN|| /a || /kick");
    }
    else if(GetPVarInt(playerid,"Adminlevel") == 3)
    {
    SendClientMessage(playerid,GRÜN,"Moderator");
    SendClientMessage(playerid,GRAU,"/aduty || /o || /goto || /gethere || /gotoplayer || /freeze || /unfreeze || /a || /kick");
    }
    else if(GetPVarInt(playerid,"Adminlevel") == 4)
    {
    SendClientMessage(playerid,GRÜN,"Administrator");
    SendClientMessage(playerid,GRAU,"/aduty || /o || /goto || /gotoplayer || /freeze || /unfreeze || /fraklist || /wm || /nummernschild");
    SendClientMessage(playerid,GRAU,"/givegun || /setmoney || /setfraktion || /explode || /a || /kick || /healall || /gethere");
    }
    else if(GetPVarInt(playerid,"Adminlevel") == 5)
    {
    SendClientMessage(playerid,ROT,"Projektleiter");
    SendClientMessage(playerid,GRAU,"/aduty || /o || /goto || /gotoplayer || /freeze || /unfreeze || /fraklist || /nummernschild");
    SendClientMessage(playerid,GRAU,"/wm || /sethp || /setadmin || /setfraktion || /bsn || /veh || /delveh || /givegun");
    SendClientMessage(playerid,GRAU,"/slap || /kill || /setmoney || /explode || /a || /kick || healall || /gethere");
    }
    else
    {
    ERROR
    }
    return 1;
    }

  • dcmd_ah(playerid,params[])
    {
    #pragma unused params
    if(IstSpielerAdmin(playerid,1))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a ");
    return 1;
    }
    if(IstSpielerAdmin(playerid,2))
    {
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe");
    return 1;
    }
    if(IstSpielerAdmin(playerid,3))
    {
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    return 1;
    }
    if(IstSpielerAdmin(playerid,4))
    {
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    return 1;
    }
    if(IstSpielerAdmin(playerid,5))
    {
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon");
    return 1;
    }
    if(IstSpielerAdmin(playerid,6))
    {
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin");
    return 1;
    }
    if(IstSpielerAdmin(playerid,7))
    {
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin | /gmx");
    return 1;
    }
    return 1;
    }


    Sollte funktionieren, sofern dein IstSpielerAdmin abfragt, ob das Adminlevel größer oder gleich ( => ) ist, wie der angegebene Wert.

  • Wie wärs wenn du dein return 1; nur ganz unten hin machst ;) :


    dcmd_ah(playerid,params[])
    {
    #pragma unused params
    if(IstSpielerAdmin(playerid,1))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a ");
    }
    if(IstSpielerAdmin(playerid,2))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe")
    }
    if(IstSpielerAdmin(playerid,3))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    }
    if(IstSpielerAdmin(playerid,4))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    }
    if(IstSpielerAdmin(playerid,5))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon");
    }
    if(IstSpielerAdmin(playerid,6))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin");
    }
    if(IstSpielerAdmin(playerid,7))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a | /kick | /pban | /ct4 | /spec");
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe | /specf | /showall | /unshowall");
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon | /unban | /setname | /makeleader | /makeadmin | /gmx");
    }
    return 1;
    }


    ;)

    Spoiler anzeigen
    10 Beiträge [X]
    50 Beiträge [X]
    100 Beiträge [X]
    150 Beiträge [X]
    200 Beiträge [X]
    250 Beiträge [X]
    300 Beiträge [X]
    350 Beiträge [X]
    400 Beiträge [X]
    450 Beiträge [X]
    500 Beiträge [X]
    550 Beiträge []
    600 Beiträge []
    650 Beiträge []
    700 Beiträge []
    750 Beiträge []

  • dcmd_ah(playerid,params[])
    {
    #pragma unused params
    if(IstSpielerAdmin(playerid,1))
    {
    SendClientMessage(playerid,BLAU," |_____________ Administration Befehle _____________| ");
    SendClientMessage(playerid,GELB," /acar | /acard | /sduty | /w | /a ");
    }
    if(IstSpielerAdmin(playerid,2))
    {
    SendClientMessage(playerid,GELB," /specaus | /slap | /setworld | /freeze | /unfreeze | /gt | /fix ");
    SendClientMessage(playerid,GELB," /goto | /gethere | /o | /reporthilfe")
    }
    if(IstSpielerAdmin(playerid,3))
    {
    SendClientMessage(playerid,GELB," /respawnallcars | /gozoll | /gotols | /gotosf | /gotolv | /givemoney");
    SendClientMessage(playerid,GELB," /takewaffenschein | /specf | /setskin | /gotocar | /getcar");
    }
    if(IstSpielerAdmin(playerid,4))
    {
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    }
    if(IstSpielerAdmin(playerid,5))
    {
    SendClientMessage(playerid,GELB," /sethp | /setarmor | /giveallescheine | /giveperso | /setint");
    SendClientMessage(playerid,GELB," /settank | /giveweapon");
    }
    if(IstSpielerAdmin(playerid,6))
    {
    SendClientMessage(playerid,GELB," /unban | /setname | /makeleader | /makeadmin");
    }
    if(IstSpielerAdmin(playerid,7))
    {
    SendClientMessage(playerid,GELB," /gmx");
    }
    return 1;
    }


    Das dürfte auch funktionieren, da ich denke, wenn du fragst ob der Spieler Admin Level 1 hat, die wahr ist, auch wenn er 2,3,4,... hat.
    Wenn nicht, dann nicht.