22.05.2014, 14:15
(
Last edited by Luca12; 23/05/2014 at 10:58 AM.
)
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;
}
}