[HELP] fuel set wrong
#10

pawn Code:
for(new o = 0; o < MAX_CARS; o++)
    {
        if(o != INVALID_VEHICLE_ID)
        {
            if(IsAPlane(GetVehicleModel(o)) || IsABoat(GetVehicleModel(o)) || IsABus(GetVehicleModel(o))){ Fuel[o] = 80.00; continue; }
            if(IsACar(GetVehicleModel(o))) {Fuel[o] = 40.00; continue; }
            if(IsAMotocycle(GetVehicleModel(o))) { Fuel[o] = 15.00; continue; }
            if(IsATruck(GetVehicleModel(o))) { Fuel[o] = 100.00; continue; }
            Fuel[o] = 40.00;
        }
    }
Try this one maybe it works.
Reply


Messages In This Thread
[HELP] fuel set wrong - by Luca12 - 22.05.2014, 14:15
Re: [HELP] fuel set wrong - by Pasa - 22.05.2014, 14:20
Re: [HELP] fuel set wrong - by Luca12 - 22.05.2014, 14:21
Re: [HELP] fuel set wrong - by Luca12 - 23.05.2014, 10:58
Re: [HELP] fuel set wrong - by XK - 23.05.2014, 11:10
Re: [HELP] fuel set wrong - by Fred1993 - 23.05.2014, 11:17
Re: [HELP] fuel set wrong - by BroZeus - 23.05.2014, 11:34
Re: [HELP] fuel set wrong - by Luca12 - 23.05.2014, 13:31
Re: [HELP] fuel set wrong - by Denying - 23.05.2014, 13:59
Re: [HELP] fuel set wrong - by Fred1993 - 23.05.2014, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)