Problem mit /help-System

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums
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
  • Hallo liebe Community,
    ich brauche hilfe bei meinem /help system
    Ich bekomme immer 26 Errors(klammerfehler), finde diesen aber nicht:(
    Bin schon am Verzweifeln.
    Bitte helft mir.
    wäre echt cool
    Danke schonmal
    hier ist der codeschnipsel ^^:
    //EDIT

    case 10:
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fkasse (Fraktionskasse)");
    }
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take /zivil");
    //SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2");
    }
    if(gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments /heal /duty /medic1 /medic2 HAUPTTOR: /medic3 HELIS: /khtele");
    }
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /lenter /lexit /lcntor");
    }
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /yenter /yexit");
    }
    if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /settax /givetax /penter /pexit /dackluke /präsibüro /ptor");
    }
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /portable /hienter /hiexit");
    }
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /paper /papers /live /news [text]");
    }
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fare [Fahrpreis]");
    }
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise");
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /bienter /biexit");
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /genter /gexit");
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /benter /bexit ");
    }
    if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /2Fenter /2Fexit /2ft");
    }
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /vaenter /vaexit");
    }
    if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /atenter /etexit");
    }
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /rienter /riexit");
    }
    if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /wccenter /wccexit");
    }
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /terenter /terexit /legbombe /selbstmord");
    }
    if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fw /fenter /fexit");
    }
    if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /renter /rexit /skin(am i)");
    }
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /oamtls /oticket /m /tazer");
    }
    }
    }
    }
    return 1;
    }

  • case 10:
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fkasse (Fraktionskasse)");
    }
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take /zivil");
    //SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2");
    }
    if(gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments /heal /duty /medic1 /medic2 HAUPTTOR: /medic3 HELIS: /khtele");
    }
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /lenter /lexit /lcntor");
    }
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /yenter /yexit");
    }
    if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /settax /givetax /penter /pexit /dackluke /präsibüro /ptor");
    }
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /portable /hienter /hiexit");
    }
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /paper /papers /live /news [text]");
    }
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fare [Fahrpreis]");
    }
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise");
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /bienter /biexit");
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /genter /gexit");
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /benter /bexit ");
    }
    if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /2Fenter /2Fexit /2ft");
    }
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /vaenter /vaexit");
    }
    if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /atenter /etexit");
    }
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /rienter /riexit");
    }
    if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /wccenter /wccexit");
    }
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /terenter /terexit /legbombe /selbstmord");
    }
    if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fw /fenter /fexit");
    }
    if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /renter /rexit /skin(am i)");
    }
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /oamtls /oticket /m /tazer");
    }
    }
    return 1;
    }


    wenn ich mich nicht verzählt habe hast du 2 klammern zu viel zu gehabt nimm mal meins und sag mir pls obs geklappt hat


    MFG

  • Danke, aber nein hats nicht.Hier mal der komplette Dialog xDD:
    if(dialogid == DIALOG_HELP)
    {
    if(response == 1)
    {
    switch(listitem)
    {
    case 0:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP0, DIALOG_STYLE_LIST,"Accounthilfe","/stats\n/buylevel\n/upgrade\n/lizenzen","OK","OK");
    }
    case 1:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP1, DIALOG_STYLE_LIST,"Command-Hilfe","/time\n/buy\n/showlizenzen\n/buygun(Waffekaufen)\n/skill\n/usedrugs\n/service\n/lotto\n /eject","OK","OK");
    }
    case 2:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP2, DIALOG_STYLE_LIST,"Bank-Hilfe","/wiretransfer\n/deposit\n/withdraw","OK","OK");
    }
    case 3:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP3, DIALOG_STYLE_LIST,"Allgemeine Hilfe","/report\n/serverinfo\n/members\n/fahrlehrer\n/carhelp\n/handyhelp\n/househelp\n/renthelp\n/bizhelp\n/leaderhelp\n","OK","OK");
    }
    case 4:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP4, DIALOG_STYLE_LIST,"Autohilfe","/carlock(auf/zu-machen)\n/carkey(schlüssel wechseln)\n/carsell(auto verkaufen)\n/parken(auto parken)","OK","OK");
    }
    case 5:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP5, DIALOG_STYLE_LIST,"Handyhilfe","/call [nummer]\n/sms [nummer]\n/pickup(rangehen)\n/hangup(auflegen)","OK","OK");
    }
    case 6:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP6, DIALOG_STYLE_LIST,"Haushilfe","/buyhouse\n/enter\n/exit\n/open\n/home\n/heal\n/houseupgrade\n/setrentable\n/evictall\n/evict\n/housewithdraw\n/rent\n/unrent","OK","OK");
    }
    case 7:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP7, DIALOG_STYLE_LIST,"Businesshilfe","/bizinfo\n/bizfee\n/bizname\n/prodprice\n/extortion\n/enter\n/exit\n/open\n/sellbiz\n/bizbank\n/bizwithdraw","OK","OK");
    }
    case 8:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP8, DIALOG_STYLE_LIST,"Leaderhilfe","/invite\n/uninvite\n/giverank","OK","OK");
    }
    case 9:
    {
    if(PlayerInfo[playerid][pJob] == 1)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP1,DIALOG_STYLE_LIST,"Nebenjobhilfe","/find","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 2)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP2,DIALOG_STYLE_LIST,"Nebenjobhilfe","/free","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 3)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP3,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sex","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 4)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP4,DIALOG_STYLE_LIST,"Nebenjobhilfe","/selldrugs","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 5)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP5,DIALOG_STYLE_LIST,"Nebenjobhilfe","/dropcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP6,DIALOG_STYLE_LIST,"Nebenjobhilfe","/repair\n/refill\n/duty","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 8)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP7,DIALOG_STYLE_LIST,"Nebenjobhilfe","/guard","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 9)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP8,DIALOG_STYLE_LIST,"Nebenjobhilfe","/materials\n/sellgun","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 10)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP9,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 12)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP10,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fight\n/boxstats","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 14)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP11,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fare","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 15)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP12,DIALOG_STYLE_LIST,"Nebenjobhilfe","/papers\n/bring\n/deliver","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 17)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP13,DIALOG_STYLE_LIST,"Nebenjobhilfe","/starten","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 18)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP14,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fishhelp","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 19)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP15,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellpizza","OK","OK");
    }
    case 10:
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fkasse (Fraktionskasse)");
    }
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take /zivil");
    //SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2");
    }
    if(gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments /heal /duty /medic1 /medic2 HAUPTTOR: /medic3 HELIS: /khtele");
    }
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /lenter /lexit /lcntor");
    }
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /yenter /yexit");
    }
    if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /settax /givetax /penter /pexit /dackluke /präsibüro /ptor");
    }
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /portable /hienter /hiexit");
    }
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /paper /papers /live /news [text]");
    }
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fare [Fahrpreis]");
    }
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise");
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /bienter /biexit");
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /genter /gexit");
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /benter /bexit ");
    }
    if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /2Fenter /2Fexit /2ft");
    }
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /vaenter /vaexit");
    }
    if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /atenter /etexit");
    }
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /rienter /riexit");
    }
    if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /wccenter /wccexit");
    }
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /terenter /terexit /legbombe /selbstmord");
    }
    if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fw /fenter /fexit");
    }
    if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /renter /rexit /skin(am i)");
    }
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /oamtls /oticket /m /tazer");


    }
    }


    return 1;
    }

  • ok habs jetzt mit Notepad++ nachzählen lassen du hast sogar drei klammern zu wenig zu


    if(dialogid == DIALOG_HELP)
    {
    if(response == 1)
    {
    switch(listitem)
    {
    case 0:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP0, DIALOG_STYLE_LIST,"Accounthilfe","/stats\n/buylevel\n/upgrade\n/lizenzen","OK","OK");
    }
    case 1:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP1, DIALOG_STYLE_LIST,"Command-Hilfe","/time\n/buy\n/showlizenzen\n/buygun(Waffekaufen)\n/skill\n/usedrugs\n/service\n/lotto\n /eject","OK","OK");
    }
    case 2:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP2, DIALOG_STYLE_LIST,"Bank-Hilfe","/wiretransfer\n/deposit\n/withdraw","OK","OK");
    }
    case 3:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP3, DIALOG_STYLE_LIST,"Allgemeine Hilfe","/report\n/serverinfo\n/members\n/fahrlehrer\n/carhelp\n/handyhelp\n/househelp\n/renthelp\n/bizhelp\n/leaderhelp\n","OK","OK");
    }
    case 4:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP4, DIALOG_STYLE_LIST,"Autohilfe","/carlock(auf/zu-machen)\n/carkey(schlüssel wechseln)\n/carsell(auto verkaufen)\n/parken(auto parken)","OK","OK");
    }
    case 5:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP5, DIALOG_STYLE_LIST,"Handyhilfe","/call [nummer]\n/sms [nummer]\n/pickup(rangehen)\n/hangup(auflegen)","OK","OK");
    }
    case 6:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP6, DIALOG_STYLE_LIST,"Haushilfe","/buyhouse\n/enter\n/exit\n/open\n/home\n/heal\n/houseupgrade\n/setrentable\n/evictall\n/evict\n/housewithdraw\n/rent\n/unrent","OK","OK");
    }
    case 7:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP7, DIALOG_STYLE_LIST,"Businesshilfe","/bizinfo\n/bizfee\n/bizname\n/prodprice\n/extortion\n/enter\n/exit\n/open\n/sellbiz\n/bizbank\n/bizwithdraw","OK","OK");
    }
    case 8:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP8, DIALOG_STYLE_LIST,"Leaderhilfe","/invite\n/uninvite\n/giverank","OK","OK");
    }
    case 9:
    {
    if(PlayerInfo[playerid][pJob] == 1)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP1,DIALOG_STYLE_LIST,"Nebenjobhilfe","/find","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 2)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP2,DIALOG_STYLE_LIST,"Nebenjobhilfe","/free","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 3)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP3,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sex","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 4)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP4,DIALOG_STYLE_LIST,"Nebenjobhilfe","/selldrugs","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 5)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP5,DIALOG_STYLE_LIST,"Nebenjobhilfe","/dropcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP6,DIALOG_STYLE_LIST,"Nebenjobhilfe","/repair\n/refill\n/duty","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 8)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP7,DIALOG_STYLE_LIST,"Nebenjobhilfe","/guard","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 9)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP8,DIALOG_STYLE_LIST,"Nebenjobhilfe","/materials\n/sellgun","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 10)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP9,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 12)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP10,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fight\n/boxstats","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 14)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP11,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fare","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 15)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP12,DIALOG_STYLE_LIST,"Nebenjobhilfe","/papers\n/bring\n/deliver","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 17)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP13,DIALOG_STYLE_LIST,"Nebenjobhilfe","/starten","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 18)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP14,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fishhelp","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 19)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP15,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellpizza","OK","OK");
    }
    case 10:
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fkasse (Fraktionskasse)");
    }
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take /zivil");
    //SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2");
    }
    if(gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments /heal /duty /medic1 /medic2 HAUPTTOR: /medic3 HELIS: /khtele");
    }
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /lenter /lexit /lcntor");
    }
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /yenter /yexit");
    }
    if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /settax /givetax /penter /pexit /dackluke /präsibüro /ptor");
    }
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /portable /hienter /hiexit");
    }
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /paper /papers /live /news [text]");
    }
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fare [Fahrpreis]");
    }
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise");
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /bienter /biexit");
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /genter /gexit");
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /benter /bexit ");
    }
    if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /2Fenter /2Fexit /2ft");
    }
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /vaenter /vaexit");
    }
    if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /atenter /etexit");
    }
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /rienter /riexit");
    }
    if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /wccenter /wccexit");
    }
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /terenter /terexit /legbombe /selbstmord");
    }
    if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fw /fenter /fexit");
    }
    if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /renter /rexit /skin(am i)");
    }
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /oamtls /oticket /m /tazer");


    }
    }
    }
    }
    }


    return 1;
    }

  • ja danke der klammerfehler ist weg^^ hab jetzt 4 errors. aber gleich nich mehr. ich poste gleich noch bg
    EDIT: C:\DOKUME~1\Besitzer\Desktop\SAMP-S~1\pawno\LOH169~1.PWN(41461) : error 014: invalid statement; not in switch
    C:\DOKUME~1\Besitzer\Desktop\SAMP-S~1\pawno\LOH169~1.PWN(41461) : warning 215: expression has no effect
    C:\DOKUME~1\Besitzer\Desktop\SAMP-S~1\pawno\LOH169~1.PWN(41461) : error 001: expected token: ";", but found ":"
    C:\DOKUME~1\Besitzer\Desktop\SAMP-S~1\pawno\LOH169~1.PWN(41461) : error 029: invalid expression, assumed zero
    C:\DOKUME~1\Besitzer\Desktop\SAMP-S~1\pawno\LOH169~1.PWN(41461) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.

    :S zeile mit errors: case 10: also zeile 105 hier im forum

    Einmal editiert, zuletzt von Kevin_Xplode ()

  • haha wenn ich den letzten case weglasse gehts also case 9 geht

  • ja es ist richtig eingerückt xD
    aber wenn ich es einfüge ins forum dann ist es so komisch :S voll dumm.^^

  • Naja... hier ich hab's dir mal ordentlich eingerückt, und dein Error gefixxt.
    Viel glück x)


    if(dialogid == DIALOG_HELP)
    {
    if(response == 1)
    {
    switch(listitem)
    {
    case 0:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP0, DIALOG_STYLE_LIST,"Accounthilfe","/stats\n/buylevel\n/upgrade\n/lizenzen","OK","OK");
    }
    case 1:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP1, DIALOG_STYLE_LIST,"Command-Hilfe","/time\n/buy\n/showlizenzen\n/buygun(Waffekaufen)\n/skill\n/usedrugs\n/service\n/lotto\n /eject","OK","OK");
    }
    case 2:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP2, DIALOG_STYLE_LIST,"Bank-Hilfe","/wiretransfer\n/deposit\n/withdraw","OK","OK");
    }
    case 3:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP3, DIALOG_STYLE_LIST,"Allgemeine Hilfe","/report\n/serverinfo\n/members\n/fahrlehrer\n/carhelp\n/handyhelp\n/househelp\n/renthelp\n/bizhelp\n/leaderhelp\n","OK","OK");
    }
    case 4:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP4, DIALOG_STYLE_LIST,"Autohilfe","/carlock(auf/zu-machen)\n/carkey(schlüssel wechseln)\n/carsell(auto verkaufen)\n/parken(auto parken)","OK","OK");
    }
    case 5:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP5, DIALOG_STYLE_LIST,"Handyhilfe","/call [nummer]\n/sms [nummer]\n/pickup(rangehen)\n/hangup(auflegen)","OK","OK");
    }
    case 6:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP6, DIALOG_STYLE_LIST,"Haushilfe","/buyhouse\n/enter\n/exit\n/open\n/home\n/heal\n/houseupgrade\n/setrentable\n/evictall\n/evict\n/housewithdraw\n/rent\n/unrent","OK","OK");
    }
    case 7:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP7, DIALOG_STYLE_LIST,"Businesshilfe","/bizinfo\n/bizfee\n/bizname\n/prodprice\n/extortion\n/enter\n/exit\n/open\n/sellbiz\n/bizbank\n/bizwithdraw","OK","OK");
    }
    case 8:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP8, DIALOG_STYLE_LIST,"Leaderhilfe","/invite\n/uninvite\n/giverank","OK","OK");
    }
    case 9:
    {
    if(PlayerInfo[playerid][pJob] == 1)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP1,DIALOG_STYLE_LIST,"Nebenjobhilfe","/find","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 2)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP2,DIALOG_STYLE_LIST,"Nebenjobhilfe","/free","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 3)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP3,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sex","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 4)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP4,DIALOG_STYLE_LIST,"Nebenjobhilfe","/selldrugs","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 5)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP5,DIALOG_STYLE_LIST,"Nebenjobhilfe","/dropcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP6,DIALOG_STYLE_LIST,"Nebenjobhilfe","/repair\n/refill\n/duty","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 8)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP7,DIALOG_STYLE_LIST,"Nebenjobhilfe","/guard","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 9)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP8,DIALOG_STYLE_LIST,"Nebenjobhilfe","/materials\n/sellgun","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 10)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP9,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 12)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP10,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fight\n/boxstats","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 14)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP11,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fare","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 15)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP12,DIALOG_STYLE_LIST,"Nebenjobhilfe","/papers\n/bring\n/deliver","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 17)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP13,DIALOG_STYLE_LIST,"Nebenjobhilfe","/starten","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 18)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP14,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fishhelp","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 19)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP15,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellpizza","OK","OK");
    }
    }
    case 10:
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fkasse (Fraktionskasse)");
    }
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take /zivil");
    //SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2");
    }
    if(gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments /heal /duty /medic1 /medic2 HAUPTTOR: /medic3 HELIS: /khtele");
    }
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /lenter /lexit /lcntor");
    }
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /yenter /yexit");
    }
    if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /settax /givetax /penter /pexit /dackluke /präsibüro /ptor");
    }
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /portable /hienter /hiexit");
    }
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /paper /papers /live /news [text]");
    }
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fare [Fahrpreis]");
    }
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise");
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /bienter /biexit");
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /genter /gexit");
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /benter /bexit ");
    }
    if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /2Fenter /2Fexit /2ft");
    }
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /vaenter /vaexit");
    }
    if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /atenter /etexit");
    }
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /rienter /riexit");
    }
    if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /wccenter /wccexit");
    }
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /terenter /terexit /legbombe /selbstmord");
    }
    if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fw /fenter /fexit");
    }
    if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /renter /rexit /skin(am i)");
    }
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /oamtls /oticket /m /tazer");
    }
    }
    }
    }
    }
    return 1;
    }

  • Lol ? Versuch mal das hier:
    if(dialogid == DIALOG_HELP)
    {
    if(response == 1)
    {
    switch(listitem)
    {
    case 0:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP0, DIALOG_STYLE_LIST,"Accounthilfe","/stats\n/buylevel\n/upgrade\n/lizenzen","OK","OK");
    }
    case 1:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP1, DIALOG_STYLE_LIST,"Command-Hilfe","/time\n/buy\n/showlizenzen\n/buygun(Waffekaufen)\n/skill\n/usedrugs\n/service\n/lotto\n /eject","OK","OK");
    }
    case 2:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP2, DIALOG_STYLE_LIST,"Bank-Hilfe","/wiretransfer\n/deposit\n/withdraw","OK","OK");
    }
    case 3:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP3, DIALOG_STYLE_LIST,"Allgemeine Hilfe","/report\n/serverinfo\n/members\n/fahrlehrer\n/carhelp\n/handyhelp\n/househelp\n/renthelp\n/bizhelp\n/leaderhelp\n","OK","OK");
    }
    case 4:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP4, DIALOG_STYLE_LIST,"Autohilfe","/carlock(auf/zu-machen)\n/carkey(schlüssel wechseln)\n/carsell(auto verkaufen)\n/parken(auto parken)","OK","OK");
    }
    case 5:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP5, DIALOG_STYLE_LIST,"Handyhilfe","/call [nummer]\n/sms [nummer]\n/pickup(rangehen)\n/hangup(auflegen)","OK","OK");
    }
    case 6:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP6, DIALOG_STYLE_LIST,"Haushilfe","/buyhouse\n/enter\n/exit\n/open\n/home\n/heal\n/houseupgrade\n/setrentable\n/evictall\n/evict\n/housewithdraw\n/rent\n/unrent","OK","OK");
    }
    case 7:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP7, DIALOG_STYLE_LIST,"Businesshilfe","/bizinfo\n/bizfee\n/bizname\n/prodprice\n/extortion\n/enter\n/exit\n/open\n/sellbiz\n/bizbank\n/bizwithdraw","OK","OK");
    }
    case 8:
    {
    ShowPlayerDialog(playerid,DIALOG_ACCHELP8, DIALOG_STYLE_LIST,"Leaderhilfe","/invite\n/uninvite\n/giverank","OK","OK");
    }
    case 9:
    {
    if(PlayerInfo[playerid][pJob] == 1)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP1,DIALOG_STYLE_LIST,"Nebenjobhilfe","/find","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 2)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP2,DIALOG_STYLE_LIST,"Nebenjobhilfe","/free","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 3)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP3,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sex","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 4)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP4,DIALOG_STYLE_LIST,"Nebenjobhilfe","/selldrugs","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 5)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP5,DIALOG_STYLE_LIST,"Nebenjobhilfe","/dropcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 7)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP6,DIALOG_STYLE_LIST,"Nebenjobhilfe","/repair\n/refill\n/duty","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 8)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP7,DIALOG_STYLE_LIST,"Nebenjobhilfe","/guard","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 9)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP8,DIALOG_STYLE_LIST,"Nebenjobhilfe","/materials\n/sellgun","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 10)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP9,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellcar","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 12)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP10,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fight\n/boxstats","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 14)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP11,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fare","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 15)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP12,DIALOG_STYLE_LIST,"Nebenjobhilfe","/papers\n/bring\n/deliver","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 17)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP13,DIALOG_STYLE_LIST,"Nebenjobhilfe","/starten","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 18)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP14,DIALOG_STYLE_LIST,"Nebenjobhilfe","/fishhelp","OK","OK");
    }
    else if(PlayerInfo[playerid][pJob] == 19)
    {
    ShowPlayerDialog(playerid,DIALOG_JOBHELP15,DIALOG_STYLE_LIST,"Nebenjobhilfe","/sellpizza","OK","OK");
    }
    case 10:
    {
    if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fkasse (Fraktionskasse)");
    }
    if(gTeam[playerid] == 2 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments (/m)egaphone (/su)spect /mdc /arrest /duty /wanted /cuff /tazer /frisk /take /zivil");
    //SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /ticket (/gov)ernment /deliver /camera /ram TORE: /pd1 /pd2 /sfpdtor /army1 /army2 /armylift1 /armylift2");
    }
    if(gTeam[playerid] == 1 || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** (/r)adio (/d)epartments /heal /duty /medic1 /medic2 HAUPTTOR: /medic3 HELIS: /khtele");
    }
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /lenter /lexit /lcntor");
    }
    if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /yenter /yexit");
    }
    if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /settax /givetax /penter /pexit /dackluke /präsibüro /ptor");
    }
    if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /portable /hienter /hiexit");
    }
    if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /paper /papers /live /news [text]");
    }
    if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fare [Fahrpreis]");
    }
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /startlesson /stoplesson /givelicense /lehrerlift /licensepreise");
    }
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /bienter /biexit");
    }
    if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /genter /gexit");
    }
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /benter /bexit ");
    }
    if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /2Fenter /2Fexit /2ft");
    }
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /vaenter /vaexit");
    }
    if(PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pMember] == 17)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /atenter /etexit");
    }
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /rienter /riexit");
    }
    if(PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /wccenter /wccexit");
    }
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /terenter /terexit /legbombe /selbstmord");
    }
    if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /fw /fenter /fexit");
    }
    if(PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /renter /rexit /skin(am i)");
    }
    if(PlayerInfo[playerid][pMember] == 24 || PlayerInfo[playerid][pLeader] == 24)
    {
    SendClientMessage(playerid,COLOR_GRAD5,"*** FRAKTION *** /oamtls /oticket /m /tazer");
    }
    }
    }
    }
    }
    return 1;
    }

  • OMG wieder die 4 fehler von vorhin :pinch: :pinch: :pinch: :pinch: :pinch: :pinch:


    Nur wegen diesem case 10 -.- wenn ich den als /*.......*/ kommentar
    mache , geht es er will einfach nicht diese frakbefehle da machen -.-
    voll dumm , weiß noch jemand weiter?
    /edit pls help

    2 Mal editiert, zuletzt von Kevin_Xplode ()