Skip to content

Instantly share code, notes, and snippets.

@commy2
Created July 16, 2016 21:02
Show Gist options
  • Save commy2/c03bb6f6b75f8fdaf31749accedc8b32 to your computer and use it in GitHub Desktop.
Save commy2/c03bb6f6b75f8fdaf31749accedc8b32 to your computer and use it in GitHub Desktop.
_r = configFile >> "CfgWeapons" >> "ItemInfo";
_w = "true" configClasses (configFile >> "CfgWeapons");
_w = _w select {inheritsFrom (_x >> "ItemInfo") == _r} apply {configName _x};
copyToClipBoard str _w;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment