CanUseHBHFSensor
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void CanUseHBHFSensor( BasePlayer player, HBHFSensor instance )
{
Puts( "CanUseHBHFSensor works!" );
}
Location
- HBHFSensor::CanUse(BasePlayer player)
csharp
public bool CanUse(BasePlayer player)
{
object returnvar = Interface.CallHook("CanUseHBHFSensor", player, this);
if (returnvar is bool)
{
return (bool)returnvar;
}
return player.CanBuild();
//---