Automatic Fuel Calculation

Haha!! That is crazy.

Just installed it, and works like a charm

Hello

I have a little Problem with teh Fuel.tpl

I have added my Aircraft Beech 1900 C called with ICAO Code B190

<?php
       /**
	*Fuelflow Table
	*/
       $fuelflowB190 = 411;
$fuelflowC208 = 180;


       /**
	*Reserves Table
	*/
       $reservesB190 = 112;
$reservesC208 = 100;



       if($schedule->aircraft == 'B190')
       {
           $fuelflow = $fuelflowB190;
           $reserves = $reservesB190;

       }
       if($schedule->aircraft == 'C208')
       {
           $fuelflow = $fuelflowC208;
           $reserves = $reservesC208;

       }

But doenst work. The Cessna 208 is working fine but the B190 not

Can anybody help me

Thanks

Hello

I have a little Problem with teh Fuel.tpl

I have added my Aircraft Beech 1900 C called with ICAO Code B190

<?php /** *Fuelflow Table */ $fuelflowB190 = 411; $fuelflowC208 = 180; /** *Reserves Table */ $reservesB190 = 112; $reservesC208 = 100; if($schedule->aircraft == 'B190') { $fuelflow = $fuelflowB190; $reserves = $reservesB190; } if($schedule->aircraft == 'C208') { $fuelflow = $fuelflowC208; $reserves = $reservesC208; } But doenst work. The Cessna 208 is working fine but the B190 not Can anybody help me Thanks

you have to " if($schedule->aircraft == ‘B190’)" enter in the correct name / type of your Aircraft.

You can find this in the admin area under fleet.

It worked perfectly

Hi

thanks now working fine.Thanks for help

Best Regards

Hi

thanks now working fine.Thanks for help

Best Regards

okay no prob

there is a website of you

OK, I’ve just installed the AFC script with some small modifications and it works fine. Thanx for it @tebinu

Is Functionally 100%, Thanks so Much from this