Skip to content

Version Checking

Taz edited this page Apr 25, 2020 · 1 revision

There may be some cases where a mod requires the absolute latest version of map api from GitHub and not the workshop. To check if the end user has the features needed, do this:

if (MinimapAPI.ReleaseVersion or 0) >= 9 then
  -- Code to run that requires v1.9!
end

ReleaseVersion will be nil in MinimapAPI v1.8 and below.

Clone this wiki locally