ACE3/addons/common/functions/fnc_isModLoaded.sqf
2015-11-30 17:09:26 +01:00

18 lines
342 B
Plaintext

/*
* Author: Glowbal
* Check in cfgPatches if modification is loaded
*
* Arguments:
* 0: Mod Name or Classname of the mod in cfgPatches <STRING>
*
* Return Value:
* if modification is loaded <BOOL>
*
* Public: Yes
*/
#include "script_component.hpp"
params ["_modName"];
isClass (configFile >> "CfgPatches" >> _modName) // return