/engine problem
#4

You mean cars don't work but bikes do? And that code above doesn't make sense. Use this:

pawn Code:
stock IsBike(vehicleid)
{
    new Bikes[] = {509,481,510,462,448,581,522,461,521,523,463,586,468,471};
    for(new i = 0; i < sizeof(Bikes); i++)
    {
        if(GetVehicleModel(vehicleid) == Bikes[i]) return 1;
    }
    return 0;
}
Reply


Messages In This Thread
/engine problem - by Aprezt - 22.08.2011, 08:29
Re: /engine problem - by Admigo - 22.08.2011, 08:33
Re: /engine problem - by Aprezt - 22.08.2011, 08:45
Re: /engine problem - by Tee - 22.08.2011, 08:49
Re: /engine problem - by Aprezt - 22.08.2011, 08:51
Re: /engine problem - by =WoR=Varth - 23.08.2011, 02:17
Re: /engine problem - by Aprezt - 23.08.2011, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)