-
Автор темы
- #1
code_language.lua:
http.get('https://pastebin.com/raw/3Aeg9vZw', function (success, response)
local cname = client.get_username()
local t = response.body
for i, username in iparis(t) do
if username == cname then
is_whitelisted = true
break
end
end
if is_whitelisted then
print("succes")
else
print("error!")
end
end)