Gets called everytime the engine starts.
См. определение в файле CarScript.c строка 1902
1903 {
1905 if (
GetGame().IsServer() && battery)
1906 {
1908 battery.GetCompEM().ConsumeEnergy(batteryConsume);
1909
1911 }
1912
1914
1916 }
class GP5GasMask extends MaskBase ItemBase
void UpdateBattery(ItemBase battery)
void HandleEngineSound(CarEngineSoundState state)
float GetBatteryConsumption()
void UpdateLights(int new_gear=-1)
proto native CGame GetGame()
Перекрестные ссылки GetBattery(), GetBatteryConsumption(), GetGame(), HandleEngineSound(), UpdateBattery() и UpdateLights().