02.10.2014, 21:06
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
}