23.05.2014, 14:11
pawn Code:
for(new o = 0; o < MAX_CARS; o++)
{
if(o != INVALID_VEHICLE_ID)
{
if(IsAPlane(GetVehicleModel(o)) || IsABoat(GetVehicleModel(o)) || IsABus(GetVehicleModel(o))){ Fuel[o] = 80.00; continue; }
if(IsACar(GetVehicleModel(o))) {Fuel[o] = 40.00; continue; }
if(IsAMotocycle(GetVehicleModel(o))) { Fuel[o] = 15.00; continue; }
if(IsATruck(GetVehicleModel(o))) { Fuel[o] = 100.00; continue; }
Fuel[o] = 40.00;
}
}