[HELP] fuel
#1

Hello I have a problem when I'm on my motocycle I add that fuel for that be 15.0 but it's 40 l if you know what I mean

it look like this code in ongamemodeinit:


pawn Код:
for(new o; o < MAX_VEHICLES; o++)
    {
        if(IsAPlane(GetVehicleModel(o)) || IsABoat(GetVehicleModel(o)) || IsABus(GetVehicleModel(o))) Gorivo[o] = 80.00;
        else if(IsAMotorVehicle(GetVehicleModel(o))) Gorivo[o] = 15.00;
        else if(IsATruk(GetVehicleModel(o))) Gorivo[o] = 100.00;
        else if(IsABycle(GetVehicleModel(o)) || GetVehicleModel(o) == 538) Gorivo[o] = 1000000.00;
        Gorivo[o] = 40.00;
        if(!IsABycle(GetVehicleModel(o)))
        {
            new engine, lights, alarm, doors, bonnet, boot, objective;
            GetVehicleParamsEx(o, engine, lights, alarm, doors, bonnet, boot, objective);
            SetVehicleParamsEx(o, 0, 0, alarm, doors, bonnet, boot, objective);
        }
    }
everything work expect IsAMotorVehicle so it should be 15.0 l but it is 40.0 l
Reply


Messages In This Thread
[HELP] fuel - by Luca12 - 14.10.2013, 15:30
Re: [HELP] fuel - by bensmart469 - 14.10.2013, 16:49
Re: [HELP] fuel - by rickisme - 14.10.2013, 17:05
Re: [HELP] fuel - by Luca12 - 15.10.2013, 11:15
Re: [HELP] fuel - by edzis84 - 15.10.2013, 11:45
Re: [HELP] fuel - by Luca12 - 15.10.2013, 12:21
Re: [HELP] fuel - by Luca12 - 16.10.2013, 07:25
Re: [HELP] fuel - by Luca12 - 16.10.2013, 15:00
Re: [HELP] fuel - by Luca12 - 17.10.2013, 10:09
Re: [HELP] fuel - by Luca12 - 18.10.2013, 11:08

Forum Jump:


Users browsing this thread: 3 Guest(s)