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

◆ CanReleaseAttachment() [6/6]

override bool CarScript::CanReleaseAttachment ( EntityAI attachment)
inlineprotected

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

117 {
118 if (!super.CanReleaseAttachment(attachment))
119 {
120 return false;
121 }
122
123 if (EngineIsOn() && attachment.GetType() == "TruckBattery")
124 {
125 return false;
126 }
127
128 return true;
129 }