In my unending question to control all players fuel levels, I know now to set a players fuel level (AiAircraft.RefuelPlane(int)) and how to find the minimum fuel level for a given aircraft (maddox.game.world.AiAircraft.GetMinimumFuelInPerc ent()).
But what I would LIKE to do is know what the players requested and/or current fuel level is, in percent.
The only way I can think of, is to somehow cycle through all possible fuel tanks and levels for all various types of aircraft, using AiAircraft.getParameter(part.ParameterTypes, int) and appropriate parameters etc.
That sounds complicated.
Is there, possibly, any simpler way to just retrieve the fuel *percent* of an aircraft?
Maybe it could be retrieved from the player's spawn-in menu settings somehow?
Thank for any tips!
Bookmarks