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

◆ OnDriverExit()

override void Car::OnDriverExit ( Human player)
inlineprotected

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

941 {
942 super.OnDriverExit(player);
943
944 if (GetGear() != GetNeutralGear())
945 {
946 EngineStop();
947 }
948 }
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().