Was ist das Problem in diesem Code?
ocmd:ahelp(playerid,params[])
{
if(SpielerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(playerid,WHITE,"{00CF00}**Moderator: {FFFFFF}/tban /warn /freeze /unfreeze /aduty /goto /gethere /setint");
}
else if(SpielerInfo[playerid][pAdmin] >= 2)
{
SendClientMessage(playerid,WHITE,"{FF9800}**Adminstrator: {FFFFFF}/getcar /gotocar /Sethp /Setarmor");
}
else if(SpielerInfo[playerid][pAdmin] >= 3)
{
SendClientMessage(playerid,WHITE,"{0098FF}**Super Adminstrator: {FFFFFF}/fixveh /ban /makeleader /veh");
}
else if(SpielerInfo[playerid][pAdmin] >= 4)
{
SendClientMessage(playerid,WHITE,"{FFFF00}**ServerManager: {FFFFFF}/spawn /givegun");
}
else if(SpielerInfo[playerid][pAdmin] >= 5)
{
SendClientMessage(playerid,WHITE,"{FF0038}**ServerOwner: {FFFFFF}/makeadmin /gmx");
}
return 1;
}
ich habe admin rechte 5 und siehe nur die von Moderator