Skip to main content

OnFuelAmountCheck

Usage​

  • Called when the amount of fuel in a vehicle is being determined
  • Return a numeric value (int) to override the default value

Examples​

""
int? OnFuelAmountCheck(EntityFuelSystem fuelSystem, Item fuelItem)
{
Puts("OnFuelAmountCheck works!");
return null;
}