Gets called everytime the engine starts.
См. определение в файле CarScript.c строка 2033
2034 {
2036 if (
g_Game.IsServer() && battery)
2037 {
2039 battery.GetCompEM().ConsumeEnergy(batteryConsume);
2040
2042 }
2043
2045
2047 }
class GP5GasMask extends MaskBase ItemBase
void UpdateBattery(ItemBase battery)
void HandleEngineSound(CarEngineSoundState state)
float GetBatteryConsumption()
override void UpdateLights(int new_gear=-1)
Перекрестные ссылки g_Game, GetBattery(), GetBatteryConsumption(), HandleEngineSound(), UpdateBattery() и UpdateLights().