https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
--[[https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
local curVersion = json.decode(LoadResourceFile(GetCurrentResourceName(), "version.json")).versionhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
Citizen.CreateThread(function()https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
PerformHttpRequest("https://raw.githubusercontent.com/JHodgson1/custom-head-labels/master/hlabels/version.json", function(err, response, header)https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
local data = json.decode(response)https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
if curVersion ~= data.version and tonumber(curVersion) < tonumber(data.version) thenhttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
print("\n##################################")https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
print(" ^1Version Mismatch^0 \n")不影响正文阅读
print(" " .. GetCurrentResourceName() .. " is ^1outdated^0, please consider updating.")https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
print(" Current Version: ^5" .. data.version .. "^0")哈哈
print(" Your Version: ^5" .. curVersion .. "^0\n")https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
print(" Change Log:\n^5 " .. table.concat(data.changelog, "\n ") .. "^0")https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
print("\n##################################\n^0")这是干扰码
elseif tonumber(curVersion) > tonumber(data.version) thenhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
print("\n##################################")https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
print(" ^1Version Mismatch^0 \n")https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
print(" " .. GetCurrentResourceName() .. " is currently running a version higher than the latest stable version.\n")https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
print(" Please consider downgrading to the latest stable version as the version you are\n currently running may contain bugs.")https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
print("\n##################################")https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
elsehttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
print("Congratulations! Your version of " .. GetCurrentResourceName() .. " is correct and up-to-date, you're awesome!")https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
endhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
end, "GET", "", {version = 'this'})https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
end)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
]]https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
|