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

◆ OnCommandVehicleFinish()

override void ManBase::OnCommandVehicleFinish ( )
inlineprotected

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

4087 {
4088 GameInventory inventory = GetInventory();
4089 if (inventory)
4090 inventory.UnlockInventory(LOCK_FROM_SCRIPT);
4091
4092 if (!m_ShouldBeUnconscious)
4093 TryHideItemInHands(false, true);
4094
4095 g_Game.GetMission().RemoveActiveInputExcludes({"vehicledriving"});
4096 }
DayZGame g_Game
Определения DayZGame.c:3942
proto native void UnlockInventory(int lockType)
void TryHideItemInHands(bool hide, bool force=false)
tries to hide item in player's hands, some exceptions for various movement states
Определения PlayerBase.c:9399

Перекрестные ссылки g_Game, TryHideItemInHands() и GameInventory::UnlockInventory().