help please
#1

Hey guys.

Why doesn't this work?

pawn Код:
switch(dialogid)
    {
        case 1226:
        {
            if(!response)
            {
                SendClientMessage(playerid, 0xFF0000FF, "You cancelled.");
                return 1;
            }
            switch(listitem)
            {
                case 0:
                {
                new tuners = 562||565||559||560||558||561;
                if(GetVehicleModel(vehicleid) == tuners)
                {
                ShowPlayerDialog(playerid,1240,DIALOG_STYLE_LIST,"Spoilers","Spoiler Pro\nSpoiler Win\nSpoiler Drag\nSpoiler Alpha\nSpoiler Race\nSpoiler Worx","Ok", "Cancel");
                }
                else
                {
                SendClientMessage(playerid,COLOR_DARKORANGE,"You have to be in a Tuner");
                }
                }
The line that doesn't have effect is this:
pawn Код:
if(GetVehicleModel(vehicleid) == 562||565||559||560||558||561)
I'm feeling a bit ill at the moment so my brains aren't at 100%

Please help
Reply


Messages In This Thread
help please - by bartje01 - 06.01.2011, 14:21
Re: help please - by bartje01 - 06.01.2011, 15:28
Re: help please - by iggy1 - 06.01.2011, 15:48
Re: help please - by bartje01 - 06.01.2011, 16:22
Re: help please - by iggy1 - 06.01.2011, 16:25
Re: help please - by bartje01 - 06.01.2011, 16:27
Re: help please - by iggy1 - 06.01.2011, 16:29
Re: help please - by bartje01 - 06.01.2011, 16:35
Re: help please - by bartje01 - 06.01.2011, 16:46
Re: help please - by iggy1 - 06.01.2011, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)