DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnDriverExit()

override void BoatScript::OnDriverExit ( Human player)
inlineprotected

См. определение в файле BoatScript.c строка 587

588 {
589 super.OnDriverExit(player);
590
591 if (GetGear() != GetNeutralGear())
592 {
593 EngineStop();
594 }
595 }
proto native int GetNeutralGear()
Returns the index of the neutral gear.
proto native void EngineStop()
Stops the engine.
proto native int GetGear()
Returns the index of the future gear, -1 if there is no engine.

Перекрестные ссылки EngineStop(), GetGear() и GetNeutralGear().