Function: GetModVersion

Synopsis

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.

History

1.22

  • Added this function.
Back to top