Thermal_A.sqf 340 B

123456789101112131415161718192021
  1. //add back thermals
  2. {
  3. _items = assigneditems _x;
  4. if ("OPTRE_NVG" in _items) then {
  5. _x unassignItem "OPTRE_NVG";
  6. _x removeItem "OPTRE_NVG";
  7. _x addItem "swop_nvchipclean";
  8. _x assignItem "swop_nvchipclean";
  9. }
  10. else{
  11. ;}
  12. ;} forEach playableUnits;
  13. hintSilent "Thermals have been added back to players";