Compiler crashes with this code! Help
#3

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)