Update functions.lua
This commit is contained in:
1 parent
cbadec6e25
commit
df7804c2de
1 file changed
+1
-1
@@ -320,7 +320,7 @@ CreateThread(function()
|
|||||||
end)
|
end)
|
||||||
CreateThread(function()
|
CreateThread(function()
|
||||||
local url = "https://raw.githubusercontent.com/Mustachedom/md-drugs/main/version.txt"
|
local url = "https://raw.githubusercontent.com/Mustachedom/md-drugs/main/version.txt"
|
||||||
local version = GetResourceMetadata('md-drugs-expiramental', "version" )
|
local version = GetResourceMetadata('md-drugs', "version" )
|
||||||
PerformHttpRequest(url, function(err, text, headers)
|
PerformHttpRequest(url, function(err, text, headers)
|
||||||
if (text ~= nil) then
|
if (text ~= nil) then
|
||||||
print('^2 Your Version:' .. version .. ' | Current Version:' .. text .. '' )
|
print('^2 Your Version:' .. version .. ' | Current Version:' .. text .. '' )
|
||||||
|
|||||||
Reference in new issue
Block a user