Gets called everytime the engine stops.
1823 {
1825 if (
g_Game.IsServer() && battery)
1826 {
1828 }
1829
1831
1832 CarEngineSoundState stopSoundState = CarEngineSoundState.STOP_OK;
1834 stopSoundState = CarEngineSoundState.STOP_NO_FUEL;
1835
1837
1838 SetEngineZoneReceivedHit(false);
1839 }
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
class GP5GasMask extends MaskBase ItemBase
proto native float GetFluidFraction(MotorbikeFluid fluid)
void UpdateBattery(ItemBase battery)
void HandleEngineSound(CarEngineSoundState state)
override void UpdateLights(int new_gear=-1)