Gets called everytime the engine starts.
См. определение в файле CarScript.c строка 1805
1806 {
1808 if (
g_Game.IsServer() && battery)
1809 {
1811 battery.GetCompEM().ConsumeEnergy(batteryConsume);
1812
1814 }
1815
1817
1819 }
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().