Compiler crashes with this code! Help
#1

What is wrong with this code that is making my pawn compiler crash?

pawn Код:
if(dialogid == SUBMENU)
    {
        if(!response) return 1;
        switch(listitem)
        {
            case 0;
            {
                if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
                {
                    SendClientMessageEx(playerid, COLOR_WHITE,"Submarine is now currently {00FF00} DOCKED"};
                    SubDocked[i] = 0;
                }
            }
            case 1;
            {
                if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
                {
                    SendClientMessageEx(playerid, COLOR_WHITE,"Submarine is now currently {FF0000} UN-DOCKED"};
                    SubDocked[i] = 1;
                }
            }
        }
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)