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

GetModTitle

Returns the title of the specified mod or the current mod if none is specified.

This returns nil if called with the name of a mod that is not enabled.

Syntax

GetModTitle( [<mod_name>] )
  • mod_name: The name of the mod whose title you'd like to get.

Examples

local CurrentModTitle = GetModTitle()

print(CurrentModTitle .. " loaded!")

Notes

No additional notes.

Version History

1.22

Added this function.

Donut Team © 2024 · v4.0