HR_Grainovich
Jun-22-2013, 13:04
Hi comrades!!
I have a question about the CloDs API, I would appreciate any help, please ;)
Before all, the scenario is a dedicated server, and I'm trying to calculate the fuel consumption after the mission.
So, I know the total amount of fuel of an aircraft with:
aircraft.getParameter(-1, part.ParameterTypes.S_FuelReserve);
This code return all kgs of fuel in the all tanks of the plane (it's supposed...), but... when you are flying along the mission and execute the same code, the amount is equals!
May be... the program not discount the fuel consumption?? , it's impossible to know the fuel consumption with this function?
I cant use the I_parameter because in dedicated server return zero.
Thank you very much for your help! ;)
ps: Sorry about my english.
I have a question about the CloDs API, I would appreciate any help, please ;)
Before all, the scenario is a dedicated server, and I'm trying to calculate the fuel consumption after the mission.
So, I know the total amount of fuel of an aircraft with:
aircraft.getParameter(-1, part.ParameterTypes.S_FuelReserve);
This code return all kgs of fuel in the all tanks of the plane (it's supposed...), but... when you are flying along the mission and execute the same code, the amount is equals!
May be... the program not discount the fuel consumption?? , it's impossible to know the fuel consumption with this function?
I cant use the I_parameter because in dedicated server return zero.
Thank you very much for your help! ;)
ps: Sorry about my english.