OnHotAirBalloonToggle
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnHotAirBalloonToggle( HotAirBalloon instance, BasePlayer player )
{
Puts( "OnHotAirBalloonToggle works!" );
}
Location
- HotAirBalloon::EngineSwitch(BaseEntity/RPCMessage msg)
csharp
[BaseEntity.RPC_Server, BaseEntity.RPC_Server.IsVisible(3f)]
public void EngineSwitch(BaseEntity.RPCMessage msg)
{
if (Interface.CallHook("OnHotAirBalloonToggle", this, msg.player) != null)
{
return;
}
BasePlayer player = msg.player;
if (player == null)
//---