ACE3/addons/common/functions/fnc_isModLoaded.sqf
2015-12-12 17:26:47 +01:00

18 lines
354 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