AdamC a écrit le dernier message :
Code:
class CfgPatches {
class reparation {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
};
};
class cfgVehicles {
class LandVehicle;
class Car : LandVehicle {
class ACE_Actions {
class ACE_MainActions {
class ACE_repair {
displayName = "$STR_vInAct_Repair";
distance = 5;
condition = "(""ToolKit"" in (items player)) && {alive _target} && {([_target] call life_fnc_isDamaged)}";
statement = "[_target] spawn life_fnc_repairTruck";
showDisabled = 0;
priority = 1.6;
};
};
};
};
};