require "lib.moonloader"
local drugs = false
function main()
while not isSampAvailable() do wait(100) end
repeat wait(15000) until isSampAvailable()
sampAddChatMessage("{FF00FF}Прокачка 160hp {FFFF00}by Oldbiz :)", 0xFF2020)
sampRegisterChatCommand("ohp", function()
drugs = not drugs
sampAddChatMessage(drugs and "{00FF00}Прокачка началась" or "{FF0000}Прокачка закончилась", 0xFF2020)
end)
sampRegisterChatCommand("oahp", function()
active = not active
sampAddChatMessage(active and "Adrenalin ON" or "Adrenalin OFF")
end)
while true do
wait(0)
if drugs then
wait(100)
sampSendChat("/usedrugs 3")
end
if active then
wait(100)
sampSendChat("/Komanda Adrenalina")
end
end