[HELP] fuel set wrong
#1

Hello I was made fuel for vehicles and know when I turn gamemode nrg freeway etc.. is set to 40.0 L instead of 15.0 L if you know what I mean? Here's the code



pawn Code:
for(new o = 1; o < MAX_CARS; o++)
    {
        if(o != INVALID_VEHICLE_ID)
        {
            if(IsAPlane(GetVehicleModel(o)) || IsABoat(GetVehicleModel(o)) || IsABus(GetVehicleModel(o))) Fuel[o] = 80.00;
            else if(IsACar(GetVehicleModel(o))) Fuel[o] = 40.00;
            else if(IsAMotocycle(GetVehicleModel(o))) Fuel[o] = 15.00;
            else if(IsATruck(GetVehicleModel(o))) Fuel[o] = 100.00;
            else  Fuel[o] = 40.00;
        }
    }
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)