require "lib.moonloader"
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if not sampIsChatInputActive() then
if isKeyDown(VK_B) and isKeyJustPressed(VK_E) then
sampSendChat("/beer")
end
if isKeyDown(VK_A) and isKeyJustPressed(VK_H) then
sampSendChat("/armour")
end
if isKeyJustPressed(VK_L) then
sampSendChat("/lock")
end
end
end
end