Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Y Player Menu
- case 39: {
- if (_shift && !_ctrlKey && (_medicRepairing isEqualTo 1) && (playerSide isEqualTo independent)) && {!life_action_inUse}) then {
- {
- _damage = getDammage _x;
- if ((_damage > 0.1) && !(_x isKindOf "Man") && !(_x isKindOf "Car") && !(_x isKindOf "Air") && !(_x isKindOf "Ship")) then {
- _damged = _damged + 1;
- };
- } forEach _nearestObjects;
- if (_damged > 0) then {
- [] call toxic_fnc_repairSystem;
- } else {
- exitWith {hint "Aucune réparation a effectuer"};
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement