Function: IsModEnabled

Synopsis

Gets whether or not a mod, mod hack or framework is enabled.

Syntax

IsModEnabled( <mod_name> )
  • mod_name: The name of the mod to check for. This should be the mod's InternalName (if it has one, which it should).

Examples

if IsModEnabled("ReplayableBonusMissions") then
	-- Do stuff differently if the Replayable Bonus Missions Mod Hack is enabled.
end

Notes

No additional notes.

History

Unknown.

Back to top