Why get errors ?
#2

You placed it in the wrong place.
pawn Код:
else if(dialogid == 1111 && response)
    {
        switch(listitem)
        {
            case 0: AddVehicleComponent(vehid,1010),CarmodDialog(playerid), PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
            case 1: ShowPlayerDialog(playerid,1112,DIALOG_STYLE_LIST,"Select primary color:","White\nBlack\nOrange\nLight Blue\nDark Blue\nPurple\nRed\nDark Red\nGrey","Select","Cancle");
            case 2: ShowPlayerDialog(playerid,1113,DIALOG_STYLE_LIST,"Select a wheel:","Shadow\nMega\nRimshine\nWires\nClassic\nTwist\nCutter\nSwitch\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAcces\n{FF0000}Back","Select","Cancle");
            case 3: AddVehicleComponent(vehid, 1086), PlayerPlaySound(playerid,1133,0.0,0.0,0.0), CarmodDialog(playerid);
            case 4: AddVehicleComponent(vehid, 1087), PlayerPlaySound(playerid,1133,0.0,0.0,0.0), CarmodDialog(playerid);
            case 5:
            {
                if(vehmd == 562 || vehmd == 565 || vehmd == 559 || vehmd == 561 || vehmd == 560 || vehmd == 558)
                {
                    ShowPlayerDialog(playerid,1114,DIALOG_STYLE_LIST,"Select one","Paintjob\nAlien\nX-Flow\n{FF0000}Back","Select","Cancel");
                }
                else if(vehmd == 576 || vehmd == 575 || vehmd == 535)
                {
                    Lowrider(playerid);
                }
                else if(vehmd == 567 || vehmd == 536)
                {
                    ShowPlayerDialog(playerid,1002,DIALOG_STYLE_LIST,"Select one","Paintjob\nChrome\nSlamin\nHardtop Roof\nSofttop Roof\n{FF0000}Back","Select","Cancel");
                }
                else if(vehmd == 534)
                {
                    ShowPlayerDialog(playerid,1003,DIALOG_STYLE_LIST,"Select one","Paintjob\nChrome\nSlamin\nFlame Sideskirt \nArches Sideskirt Roof\n{FF0000}Back","Select","Cancel");
                }
                else if(vehmd == 496 || vehmd == 505 || vehmd == 516 || vehmd == 517 || vehmd == 518 || vehmd == 527 || vehmd == 529 || vehmd == 540 || vehmd == 546 || vehmd == 547 || vehmd == 549 || vehmd == 550 || vehmd == 551 || vehmd == 580 || vehmd == 585 || vehmd == 587 || vehmd == 589 || vehmd == 600 || vehmd == 603 || vehmd == 401 || vehmd == 410 || vehmd == 415 || vehmd == 418 || vehmd == 420 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 489 || vehmd == 491 || vehmd == 492)
                {
                    RegularCarDialog(playerid);
                }
                else
                {
                    SendClientMessage(playerid,COLOR_GREY,"This vehicle can't be tuned.");
                }
            }
            case 6: ShowPlayerDialog(playerid, 55, DIALOG_STYLE_INPUT, "Vehicle's plate","Enter your new vehicle's plate", "Enter", "Cancel");        
        }
    }
Reply


Messages In This Thread
Why get errors ? - by SandKing94 - 21.06.2014, 16:19
Re: Why get errors ? - by RenovanZ - 21.06.2014, 16:23

Forum Jump:


Users browsing this thread: 1 Guest(s)