return 0 doesn't work.
#5

He means you should use this:

pawn Код:
switch(GetVehicleModel(GetPlayerVehicleID(playerid)))
{
    case 603,506,401,406,407,408,416,420,423,425,427,428,430,431,432,433,437,438,442,443,452,453,454,464,465,470,472,473,484,485,486,490,493,497,501,514,515,520,523,524,525,528,530,531,532,534,535,536,537,538,544,552,556,557,564,569,570,574,582,596,595,597,598,599,601:
    {
        //do stuff
    }
}
Also notice that you need GetVehicleModel not GetPlayerVehicleID
Reply


Messages In This Thread
return 0 doesn't work. - by Gamer007 - 07.06.2009, 10:06
Re: return 0 doesn't work. - by Abernethy - 07.06.2009, 10:09
Re: return 0 doesn't work. - by yom - 07.06.2009, 10:09
Re: return 0 doesn't work. - by Gamer007 - 07.06.2009, 10:22
Re: return 0 doesn't work. - by Weirdosport - 07.06.2009, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)