Remove unit's nvg (regardless of the mod they come from)

Description
These are actually two functions that allow you to remove or give back NVG from given unit, even if the NVGs are not in the unit's NVG slot but stored in their uniform/vest/backpack. The second function will give it back. The functions works (should work) for all NVGs even if they come from a mod.

To remove NVGs:
[player] call MRH_fnc_removeNVGs;

To give NVGs back:
[player] MRH_fnc_giveNVGsBack;

Remove NVGs:
/*  Function name:MRH_fnc_removeNVGs Author: Mr H.  Description: this function lists all NVGs From config files, checks if they are in the given unit's inventory OR/AND NVG dedicated slot and removes them, stores them in a variable. Return value:None Public: Yes Parameters: 0 -  - Unit to remove NVGs from. Example(s): [player] call MRH_fnc_removeNVGs; */

Give NVGs back:
Function name:MRH_fnc_giveNVGsBack Author: Mr H. Description: this function recovers previously removed NVGs and gives them back, assigns them to the nvg slot if they where previously there Return value: None Public: Yes Parameters: 0 -  - Unit to give NVG's back to. Example(s): [player] MRH_fnc_giveNVGsBack;