- 418
- 226
- Версия MoonLoader
- .026-beta
Lua:
function checkip(reg,last)
local args = {}
args['headers'] = {['Content-Type'] = 'application/json'}
asyncHttpRequest('GET', 'http://api.mint-plantation.ru/amogus.php?reg='..reg..'&last='..last, args,
function(response)
local result = decodeJson(response.text)
lipInfo = result
return result
end,
function(err)
print(err)
end)
end