|
|
|
@ -3288,6 +3288,7 @@ function transponder() |
|
|
|
|
wait_for_response = true |
|
|
|
|
local response_path = os.tmpname() |
|
|
|
|
down = false |
|
|
|
|
sampfuncsLog("http://thprivate.deadpoo.net/" .. encodeJson(request_table)) |
|
|
|
|
download_id_4 = downloadUrlToFile( |
|
|
|
|
"http://thprivate.deadpoo.net/" .. encodeJson(request_table), |
|
|
|
|
response_path, |
|
|
|
@ -3316,6 +3317,7 @@ function transponder() |
|
|
|
|
local f = io.open(response_path, "r") |
|
|
|
|
if f then |
|
|
|
|
local fileText = f:read("*a") |
|
|
|
|
sampfuncsLog(fileText) |
|
|
|
|
if fileText ~= nil and #fileText > 0 then |
|
|
|
|
try(function() |
|
|
|
|
info = decodeJson(fileText) |
|
|
|
|