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!