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

GetModVersion

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

Syntax

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

Examples

local CurrentModVersion = GetModVersion()

print("Version " .. CurrentModVersion .. " loaded!")

Notes

No additional notes.

Version History

1.22

Added this function.

Donut Team © 2020 · v4.0