require 'lib.moonloader'
local binds = {
[VK_1] = '/antipar',
[VK_2] = '/fogdist 0',
[VK_3] = '/fogdist 750'
}
function main()
while not isSampAvailable() do wait(0) end
while true do wait(0)
for k,v in pairs(binds) do
if wasKeyPressed(k) and not sampIsCursorActive() then
sampProcessChatInput(v)
end
end
end
end