ACE3/addons/common/functions/fnc_isModLoaded.sqf

18 lines
342 B
Plaintext
Raw Normal View History

2015-09-18 19:12:40 +00:00
/*
2015-01-16 23:21:47 +00:00
* Author: Glowbal
2015-09-18 19:12:40 +00:00
* Check in cfgPatches if modification is loaded
2015-01-16 23:21:47 +00:00
*
2015-09-18 19:12:40 +00:00
* Arguments:
* 0: Mod Name or Classname of the mod in cfgPatches <STRING>
*
* Return Value:
* if modification is loaded <BOOL>
*
* Public: Yes
2015-01-16 23:21:47 +00:00
*/
#include "script_component.hpp"
2015-09-20 14:40:49 +00:00
params ["_modName"];
isClass (configFile >> "cfgPatches" >> _modName) // return