[HELP] fuel system
#3

Thank you I have like this code which set fuel depend on type of vehicle but the only problem is for bikes like nrg etc I was make to set 15.0 L but it's set 40.0 L

pawn Код:
for(new i; i< MAX_VEHICLES; i++)
    {
        if(IsATruck(GetVehicleModel(i))) Fuel[i] = 100.0;
        else if(IsABus(GetVehicleModel(i))) Fuel[i] = 80.0;
        else if(IsABike(GetVehicleModel(i))) Fuel[i] = 15.0;
        else Fuel[i] = 40.0; // this set fuel for other vehicles which is not added above this code and I think that this code somehow setting bikes fuel to 40 and I don't have any codes anywhere in the script for setting the fuel this is the only one
    }
Reply


Messages In This Thread
[HELP] fuel system - by Luca12 - 02.10.2014, 20:22
Re: [HELP] fuel system - by Sascha - 02.10.2014, 20:55
Re: [HELP] fuel system - by Luca12 - 02.10.2014, 21:06
Re: [HELP] fuel system - by Sascha - 02.10.2014, 21:11
Re: [HELP] fuel system - by Luca12 - 02.10.2014, 21:20
Re: [HELP] fuel system - by Sascha - 02.10.2014, 21:24
Re: [HELP] fuel system - by Luca12 - 02.10.2014, 21:27
Re: [HELP] fuel system - by Sascha - 02.10.2014, 21:32
Re: [HELP] fuel system - by Luca12 - 02.10.2014, 21:46
Re: [HELP] fuel system - by JJack - 03.10.2014, 03:02

Forum Jump:


Users browsing this thread: 1 Guest(s)