|
|
|
@ -3286,7 +3286,6 @@ 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, |
|
|
|
@ -3315,7 +3314,6 @@ 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) |
|
|
|
|