CanElevatorLiftMove
Usage
- Return a bool value to override default behavior
Example Autogenerated
csharp
private bool? CanElevatorLiftMove( ElevatorLift instance )
{
Puts( "CanElevatorLiftMove works!" );
return null;
}Location
- ElevatorLift::CanMove()
csharp
public bool CanMove()
{
object obj = Interface.CallHook("CanElevatorLiftMove", this);
if (obj is bool)
{
return (bool)obj;
}
if (VehicleTrigger.HasContents && VehicleTrigger.entityContents != null)
//---