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

◆ CanReleaseAttachment() [6/6]

override bool CarScript::CanReleaseAttachment ( EntityAI attachment)
inlineprotected

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

127 {
128 if (!super.CanReleaseAttachment(attachment))
129 {
130 return false;
131 }
132
133 if (EngineIsOn() && attachment.GetType() == "TruckBattery")
134 {
135 return false;
136 }
137
138 return true;
139 }