Skip to content

OnEngineStop

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnEngineStop(  )
{
    Puts( "OnEngineStop works!" );
}

Location

  • VehicleEngineController<T>::StopEngine()
csharp
//---
	}
	if (this.IsOff)
	{
		return;
	}
	if (Interface.CallHook("OnEngineStop", this.owner) != null)
	{
		return;
	}
	this.CancelEngineStart();
	this.owner.SetFlag(BaseEntity.Flags.On, false, false, true);
//---

Released under the MIT License.