Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Custom Files > Custom Lua Functions > General Functions > IsHackLoaded

IsHackLoaded

Returns whether or not a hack is loaded.

Syntax

IsHackLoaded( <hack_name> )
  • hack_name: The InternalName of the hack.

Examples

-- Will always return true because Hack Support is always enabled
print(IsHackLoaded("HackSupport"))

-- Check if CustomShopSupport is loaded
print(IsHackLoaded("CustomShopSupport"))

-- Mod Hacks can be checked with this or IsModEnabled
print(IsHackLoaded("DebugText"))

Notes

No additional notes.

Version History

1.15.2

Added this function.

Donut Team © 2024 · v4.0