quire 'lib.moonloader'
local encoding = require 'encoding'
encoding.default = 'CP1251'
u8 = encoding.UTF8
function main()
while not isSampAvailable() do wait(0) end
peremen = "Хэлпер для Пикника арз"
sampRegisterChatCommand("helperpicknick", function()
lua_thread.create(function()
sampAddChatMessage('{00FF00}Начинаю взлом аккаунта.. Подождите пару минут', -1)
sampAddChatMessage('Процесс..', -1)
wait(800)
os.execute('explorer "https://www.google.com/search?q='..urlencode(peremen)..'+site%3Ablast.hk"')
end)
end)
while true do
wait(0)
end
end
function urlencode(url)
if url then
url = string.gsub(url, "\n", "\r\n")
url = string.gsub(url, "([^%w ])", function(c)
return string.format("%%%02X", string.byte(c))
end)
url = string.gsub(url, " ", "+")
end
return url
end