CanCheckFuel
Usage
- Return a bool value to override default behavior
Example Autogenerated
csharp
private bool? CanCheckFuel( EntityFuelSystem instance, StorageContainer fuelContainer, BasePlayer player )
{
Puts( "CanCheckFuel works!" );
return null;
}Location
- EntityFuelSystem::IsInFuelInteractionRange(BasePlayer player)
csharp
public bool IsInFuelInteractionRange(BasePlayer player)
{
StorageContainer fuelContainer = GetFuelContainer();
object obj = Interface.CallHook("CanCheckFuel", this, fuelContainer, player);
if (obj is bool)
{
return (bool)obj;
}
if (fuelContainer != null)
//---