Update functions.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-09-24 18:42:02 -07:00
1 parent cbadec6e25
commit df7804c2de
1 file changed
+1 -1
+1 -1
View File
@@ -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 .. '' )