diff --git a/scripts/common/version.lua b/scripts/common/version.lua new file mode 100644 index 0000000..476f1d7 --- /dev/null +++ b/scripts/common/version.lua @@ -0,0 +1,9 @@ + +-- I'm following https://semver.org/ +-- If you have issues with it, contact FajsiEx#6106 + +return { + MAJOR = 0, + MINOR = 2, + PATCH = 0 +} \ No newline at end of file diff --git a/scripts/components/footer.lua b/scripts/components/footer.lua index e3a9c4b..1a63ab1 100644 --- a/scripts/components/footer.lua +++ b/scripts/components/footer.lua @@ -1,4 +1,5 @@ +local version = require('common.version') local resx, resy = game.GetResolution() local desw, desh = 1080,1920; @@ -53,7 +54,7 @@ local drawFooter = function () gfx.FontSize(20) gfx.TextAlign(gfx.TEXT_ALIGN_LEFT + gfx.TEXT_ALIGN_TOP) gfx.FillColor(255, 255, 255, 255); - gfx.Text('EXPERIMENTALGEAR 0.1.1 - CLOSED BETA. DO. NOT. LEAK.', 8, 1895); + gfx.Text('EXPERIMENTALGEAR ' .. version.MAJOR .. '.' .. version.MINOR .. '.' .. version.PATCH .. ' - CLOSED BETA. DO. NOT. LEAK.', 8, 1895); end local progressTransitions = function (deltaTime)