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

◆ CanReleaseAttachment() [6/6]

override bool CarScript::CanReleaseAttachment ( EntityAI attachment)
inlineprotected

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

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