mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
12 lines
292 B
Plaintext
12 lines
292 B
Plaintext
// by commy2
|
|
|
|
private ["_vehicle", "_part"];
|
|
|
|
_vehicle = _this select 0;
|
|
_part = _this select 1;
|
|
|
|
("ToolKit" in items player || {!isNull ([_vehicle] call AGM_Repair_fnc_getNearestRepairer)})
|
|
&& {alive _vehicle}
|
|
&& {speed _vehicle == 0}
|
|
&& {floor (3 * (_vehicle getHitPointDamage _part)) > 0}
|