error 075: input line too long
#5

A switch is the answer to your question. Also I'm pretty sure that you're checking vehicle models, not ids.
pawn Код:
switch(GetVehicleModel(GetPlayerVehicleID(playerid)))
{
    case 448,462,408,574,609,498,403,435,400,414,456,482,414,455,482:
    {
        // do stuff
    }
    default:
    {
        // not one of these
    }
}
Reply


Messages In This Thread
error 075: input line too long - by Donvalley - 24.06.2013, 09:59
Re: error 075: input line too long - by iJumbo - 24.06.2013, 10:01
Re: error 075: input line too long - by Donvalley - 24.06.2013, 10:05
Re: error 075: input line too long - by dEcooR - 24.06.2013, 10:07
Re: error 075: input line too long - by Vince - 24.06.2013, 12:47
Re: error 075: input line too long - by Donvalley - 24.06.2013, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)