Duplicate case label
#1

What the hell is wrong? I'm getting "duplicate "case" label (value 11) at this code placed on OnDialogResponse:

pawn Code:
/* ---- Commands Dialog ---- */
        case DIALOG_COMMANDS:
        {
            if(!response) return 1;

            switch(listitem)
            {
                case 0: ShowGeneralCmds(playerid);
                case 1: ShowPMCmds(playerid);
                case 2: ShowGarageCmds(playerid);
                case 3: ShowCrateCmds(playerid);
                case 4: ShowCollectiblesCmds(playerid);
                case 5: ShowBountyCmds(playerid);
                case 6: ShowReputationCmds(playerid);
                case 7: ShowCookiesCmds(playerid);
                case 8: ShowPartyCmds(playerid);
                case 9: ShowDeathmatchCmds(playerid);
                case 10: ShowTeleportCmds(playerid);
            }
        }
        /* ------------------------- */
Reply


Messages In This Thread
Duplicate case label - by SymonClash - 23.03.2019, 17:24
Re: Duplicate case label - by Y_Less - 23.03.2019, 18:57
Re: Duplicate case label - by h3x - 23.03.2019, 19:09
Re: Duplicate case label - by Heress - 23.03.2019, 19:11
Re: Duplicate case label - by v1k1nG - 23.03.2019, 20:24
Re: Duplicate case label - by Y_Less - 24.03.2019, 13:26
Re: Duplicate case label - by SymonClash - 24.03.2019, 13:44
Re: Duplicate case label - by NaS - 24.03.2019, 13:49
Re: Duplicate case label - by SymonClash - 24.03.2019, 13:52
Re: Duplicate case label - by TheToretto - 24.03.2019, 14:04
Re: Duplicate case label - by SymonClash - 24.03.2019, 14:13
Re: Duplicate case label - by Y_Less - 24.03.2019, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)