Advertisement
Xyberviri

spyGlass_patchList.sqf

Oct 30th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _patchList =
  2. [
  3. ];
  4.  _cfgPatches = [];
  5.     _binConfigPatches = configFile >> "CfgPatches";
  6.     for "_i" from 0 to count (_binConfigPatches)-1 do {
  7.         _patchEntry = _binConfigPatches select _i;
  8.         if(isClass _patchEntry) then {
  9.             if(!((configName _patchEntry) in _patchList)) then {
  10.                 _cfgPatches set[count _cfgPatches,(configName _patchEntry)];
  11.             };
  12.         };
  13.     };
  14.  
  15.     copyToClipboard str(_cfgPatches);
  16.     hintSilent "Tab out and paste your clipboard into notepad";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement