require 'lib.moonloader'
local vk = require 'vkeys'
local enable = false
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if isKeyDown(vk.VK_MENU) and isKeyJustPressed(vk.VK_Z) then
enable = not enable
printStringNow(enable and "aim ~g~on" or "aim ~r~off", 5000)
end
end
end