Elevator (6)
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
CanElevatorLiftMove
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ElevatorLift.CanMove of Assembly-CSharp.dll.
OnElevatorButtonPress
Called when a player presses a button on an elevator lift.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ElevatorLift.Server_RaiseLowerFloor of Assembly-CSharp.dll.
OnElevatorCall
Called when an elevator lift is called to a specific floor by electricity.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches Elevator.b__26_0 of Assembly-CSharp.dll.
Called right before an elevator starts moving to the target floor.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches Elevator.RequestMoveLiftTo of Assembly-CSharp.dll.
Called when a player calls a lift or procedural lift.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches Lift.RPC_UseLift of Assembly-CSharp.dll.
Called when a player calls a lift or procedural lift.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ProceduralLift.RPC_UseLift of Assembly-CSharp.dll.
Last updated