ACE3/addons/common/functions/fnc_isModLoaded_f.sqf
2015-01-17 00:21:47 +01:00

13 lines
336 B
Plaintext

/**
* fn_isModLoaded_f.sqf
* Descr: Check in cfgPatches if modification is loaded
* Author: Glowbal
*
* Arguments: [modName STRING (Classname of the mod in cfgPatches)]
* Return: BOOL true if modification is loaded
* PublicAPI: true
*/
#include "script_component.hpp"
(isClass (configFile >> "cfgPatches" >> (_this select 0)))