-
Автор темы
- #1
code_language.lua:
local list = {
'primordial',
'fatality',
'monolith',
'pandora',
'nemesis',
'rifk7',
'ev0lve'
}
local menu = {
cheat = gui.add_combo('Cheat', 'LUA>Tab B', list);
search = gui.add_textbox('UID/Name', 'LUA>Tab B');
}
local getresult = function()
local req = {
cheat = menu.cheat:get_int(),
search = menu.search:get_string()
}
utils.http_get("https://uidpolice.xyz/api/"..list[req.cheat+1].."/"..req.search, '', function(response)
local data = utils.json_decode(response)
if data.status == "success" then
print("\nUID: "..data.uid.."\nUsername: "..data.username.."\nInviter: "..data.inviter.."\nJoined: "..data.joined.."\nBanned: "..data.ban.."\nAvatar: "..data.avatar);
else
print("Error: "..data.text);
end
end)
end
local get = gui.add_button('Get', 'LUA>Tab B', getresult)