hey leude
Ich erde einfach nicht schlau wtf geht das nicht ist die lieste zu lang erkennt das pawno nicht oder hat es sonstige gründe?!?
Bitte um hilfe.
Hier code:
if(strcmp(cmd, "/adminhilfe", true) == 0 || strcmp(cmd, "/ah", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pSupporter] == 1)
{
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Supporter_Level_1,DIALOG_STYLE_LIST,"Supporterhilfe Level 1","/a \n /check \n /goto \n /kick \n /o \n /spawn \n /unfreeze \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 1)
{
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Moderator_Stufe_1,DIALOG_STYLE_LIST,"Adminhelp Moderator Stufe 1","/admin(/a) \n /bigears \n /check \n /checkwarns \n /cleartext \n /cnn \n /getip \n /goto \n /kick \n /kickres \n /mute \n /o \n /sban \n /setint \n /spawn \n /unfreeze \n /warn \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 2)
{
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Moderator_Stufe_2,DIALOG_STYLE_LIST,"Adminhelp Moderator Stufe 2","/admin(/a) \n /bigears \n /cam \n /check \n /checkwarns \n /cleartext \n /cnn \n /freeze \n /getip \n /goto \n /kick \n /kickres \n /mute \n /o \n /recon \n /respawnthiscar(/rtc) \n /sban \n /setint \n /setteam \n /spawn \n /unfreeze \n /warn \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 3)
{
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Moderator_Stufe_3,DIALOG_STYLE_LIST,"Adminhelp Moderator Stufe 3","/admin(/a) \n /bigears \n /cam \n /check \n /checkwarns \n /cleartext \n /cnn \n /freeze \n /getcar \n /gethere \n /getip \n /goto \n /gotobsn \n /gotocar \n /gotols \n /gotolv \n /gotomark \n /gotosf \n /gotozivi \n /kick \n /kickres \n /mark \n /mute \n /o \n /oldcar \n /prison [Für Cheater] \n /recon \n /respawnthiscar(/rtc) \n /sban \n /setint \n /setteam \n /spawn \n /unfreeze \n /unprison \n /warn \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 4)
{
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Admin_Stufe_1,DIALOG_STYLE_LIST,"Adminhelp Admin Stufe 1","/admin(/a) \n /asellbiz \n /asellhouse \n /bigears \n /cam \n /carreset \n /check \n /checkwarns \n /cleartext \n /cnn \n /destroycars \n /edit \n /fixveh \n /freeze \n /getcar \n /gethere \n /getip \n /goto \n /gotobsn \n /gotocar \n /gotols \n /gotolv \n /gotomark \n /gotosf \n /gotozivi \n /hq \n /kick \n /kickres \n /logout \n /logoutall \n /logoutpl \n /mark \n /mute \n /o \n /oldcar \n /prison [Für Cheater] \n /recon \n /respawnthiscar(/rtc) \n /sban \n /sellsbiz \n /setarmor \n /setchamp \n /setfamily \n /sethp \n /setint \n /setteam \n /spawn \n /umbenennen \n /unfreeze \n /unprison \n /veh \n /warn \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 1337)
{
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Admin_Stufe_2,DIALOG_STYLE_LIST,"Adminhelp Admin Stufe 2","/admin(/a) \n /asellbiz \n /asellhouse \n /bigears \n /cam \n /carreset \n /check \n /checkwarns \n /cleartext \n /cnn \n /destroycars \n /edit \n /fixveh \n /fractionlist(/fl) \n /freeze \n /getcar \n /gethere \n /getip \n /goto \n /gotobsn \n /gotocar \n /gotols \n /gotolv \n /gotomark \n /gotosf \n /gotozivi \n /hq \n /kick \n /kickres \n /logout \n /logoutall \n /logoutpl \n /makesupp \n /mark \n /mute \n /o \n /oldcar \n /prison [Für Cheater] \n /recon \n /respawnthiscar(/rtc) \n /sban \n /sellsbiz \n /setarmor \n /setchamp \n /setfamily \n /sethp \n /setint \n /setteam \n /spawn \n /startlotto \n /umbenennen \n /unfreeze \n /unprison \n /veh \n /warn \n /weather \n /weatherall \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 1338)
{
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Admin_Stufe_3,DIALOG_STYLE_LIST,"Adminhelp Admin Stufe 3","/admin(/a) \n /asellbiz \n /asellhouse \n /bigears \n /cam \n /carreset \n /check \n /checkwarns \n /cleartext \n /cnn \n /destroycars \n /edit \n /fixveh \n /fractionlist(/fl) \n /freeze \n /getcar \n /gethere \n /getip \n /goto \n /gotobsn \n /gotocar \n /gotols \n /gotolv \n /gotomark \n /gotosf \n /gotozivi \n /hq \n /kick \n /kickres \n /logout \n /logoutall \n /logoutpl \n /makesupp \n /mark \n /mute \n /o \n /oldcar \n /porttopos Scripter und Admin 1450 \n /prison [Für Cheater] \n /recon \n /respawnthiscar(/rtc) \n /sban \n /sellsbiz \n /setarmor \n /setchamp \n /setfamily \n /sethp \n /setint \n /setteam \n /spawn \n /startlotto \n /umbenennen \n /unfreeze \n /unprison \n /veh \n /warn \n /weather \n /weatherall \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 1339)
{
SendClientMessage(playerid, COLOR_YELLOW,"[ADMININFO:](Ab Admin-Level 4 bist Du in der Adminliste (/admins) nicht sichtbar)");
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Admin_Stufe_4,DIALOG_STYLE_LIST,"Adminhelp Admin Stufe 4","/admin(/a) \n /asellbiz \n /asellhouse \n /bigears \n /cam \n /carreset \n /check \n /checkwarns \n /cleartext \n /cnn \n /destroycars \n /edit \n /fixveh \n /fractionlist(/fl) \n /freeze \n /getcar \n /gethere \n /getip \n /goto \n /gotobsn \n /gotocar \n /gotols \n /gotolv \n /gotomark \n /gotosf \n /gotozivi \n /hq \n /kick \n /kickres \n /logout \n /logoutall \n /logoutpl \n /makesupp \n /mark \n /mute \n /o \n /oldcar \n /porttopos Scripter und Admin 1450 \n /prison [Für Cheater] \n /recon \n /respawnthiscar(/rtc) \n /sban \n /sellsbiz \n /setarmor \n /setchamp \n /setfamily \n /sethp \n /setint \n /setteam \n /spawn \n /startlotto \n /umbenennen \n /unfreeze \n /unprison \n /veh \n /warn \n /weather \n /weatherall \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 1450)
{
SendClientMessage(playerid, COLOR_YELLOW,"[ADMININFO:](Ab Admin-Level 4 bist Du in der Adminliste (/admins) nicht sichtbar)");
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Admin_Stufe_1450,DIALOG_STYLE_LIST,"Adminhelp Admin Stufe 1450","/admin(/a) \n /asellbiz \n /asellhouse \n /bigears \n /cam \n /carreset \n /check \n /checkwarns \n /cleartext \n /cnn \n /destroycars \n /edit \n /fixveh \n /fractionlist(/fl) \n /freeze \n /getcar \n /gethere \n /getip \n /gmx \n /goto \n /gotobsn \n /gotocar \n /gotols \n /gotolv \n /gotomark \n /gotosf \n /gotozivi \n /hq \n /kick \n /kickres \n /logout \n /logoutall \n /logoutpl \n /makeleader \n /makesupp \n /mark \n /mute \n /o \n /oldcar \n /porttopos Scripter und Admin 1450 \n /prison [Für Cheater] \n /recon \n /respawnthiscar(/rtc) \n /sban \n /sellsbiz \n /setarmor \n /setchamp \n /setfamily \n /sethp \n /setint \n /setteam \n /spawn \n /startlotto \n /umbenennen \n /unfreeze \n /unprison \n /veh \n /warn \n /weather \n /weatherall \n /wisper(/w)","OK"," ") ;
}
if (PlayerInfo[playerid][pAdmin] == 1451)
{
SendClientMessage(playerid, COLOR_YELLOW,"[ADMININFO:](Ab Admin-Level 4 bist Du in der Adminliste (/admins) nicht sichtbar)");
ShowPlayerDialog(playerid,DIALOG_Adminhelp_Admin_Stufe_1451,DIALOG_STYLE_LIST,"Adminhelp Admin Stufe 1451 ***Serverowner***","/admin(/a) \n /asellbiz \n /asellhouse \n /ban \n /bigears \n /cam \n /carreset \n /check \n /checkwarns \n /cleartext \n /cnn \n /destroycars \n /edit \n /fixveh \n /fractionlist(/fl) \n /freeze \n /getcar \n /gethere \n /getip \n /givemoney \n /gmx \n /goto \n /gotobsn \n /gotocar \n /gotols \n /gotolv \n /gotomark \n /gotosf \n /gotozivi \n /hq \n /kick \n /kickres \n /logout \n /logoutall \n /logoutpl \n /makeadmin \n /makeleader \n /makesupp \n /mark \n /money \n /mute \n /o \n /oldcar \n /pban \n /porttopos Scripter und Admin 1450 \n /prison [Für Cheater] \n /recon \n /respawnthiscar(/rtc) \n /sban \n /sellsbiz \n /setarmor \n /setchamp \n /setfamily \n /sethp \n /setint \n /setstat \n /setteam \n /spawn \n /startlotto \n /umbenennen \n /unfreeze \n /unprison \n /veh \n /warn \n /weather \n /weatherall \n /wisper(/w)","OK"," ") ;
}
}
return 1;
}
Danke
MfG: Sonic