please help again :)
#1

why this dialog cant show me
pawn Код:
CMD:tune(playerid, params[])
{
    new playerVehicle = GetPlayerVehicleID(playerid);
    if(playerVehicle == 560 || playerVehicle == 562)
    {
        ShowPlayerDialog(playerid, tunecar, DIALOG_STYLE_LIST, "Car Tune Menu", "Nitro\nExhaust\nSideskirt\nWheels\nSpoilers\nRoof\nBumper", "Attach", "Cancel");
        return 1;
    }
    return 1;
}
pawn Код:
case tunecar:
        {
            if(!response)
            {
                SendClientMessage(playerid, COLOR_ORANGE, "You cancelled.");
                return 1;
            }
            switch(listitem)
            {
                case 0:
                {
                    ShowPlayerDialog(playerid, Nitro, DIALOG_STYLE_LIST, "Nitro", "2 times Nitro\n5 times Nitro\n10 times Nitro", "Attach", "Cancel");
                }
                case 1:
                {
                    ShowPlayerDialog(playerid, Exhaust, DIALOG_STYLE_LIST, "Exhaust", "Alien\nX-Flow", "Attach", "Cancel");
                }
                case 2:
                {
                    ShowPlayerDialog(playerid, Sideskirt, DIALOG_STYLE_LIST, "Sideskirt", "Left X-Flow Sideskirt\nRight X-Flow Sideskirt", "Attach", "Cancel");
                }
                case 3:
                {
                    ShowPlayerDialog(playerid, Wheels, DIALOG_STYLE_LIST, "Wheels", "Shadow\nMega\nClassic\nCutter\nGrove\nImport\nDollar\nTwist\nTrance\nAtomic", "Attach", "Cancel");
                }
                case 4:
                {
                    ShowPlayerDialog(playerid, Spoliers, DIALOG_STYLE_LIST, "Spoliers", "X-Flow\nAlien", "Attach", "Cancel");
                }
                case 5:
                {
                    ShowPlayerDialog(playerid, Roof, DIALOG_STYLE_LIST, "Roof", "Alien Roof Vent\nX-Flow Roof Vent", "Attach", "Cancel");
                }
                case 6:
                {
                    ShowPlayerDialog(playerid, Bumper, DIALOG_STYLE_LIST, "Bumper", "X-Flow\nAlien", "Attach", "Cancel");
                }
            }
        }
Thanks xD
Reply


Messages In This Thread
please help again :) - by Rafa - 26.07.2011, 00:37
Re: please help again :) - by CJ101 - 26.07.2011, 00:43
Re: please help again :) - by Rafa - 26.07.2011, 00:47
Re: please help again :) - by Rafa - 26.07.2011, 01:06
Re: please help again :) - by =WoR=Varth - 26.07.2011, 01:10
Re: please help again :) - by Rafa - 26.07.2011, 01:29
Re: please help again :) - by =WoR=Varth - 26.07.2011, 01:35

Forum Jump:


Users browsing this thread: 1 Guest(s)