require "lib.moonloader"
require 'lib.vkeys'
local xz = true
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do wait(0)
if isKeyDown(87) and isKeyDown(16) then -- если зажаты ШИФТ и Г тогда
setVirtualKeyDown(18,true)--alt зажимается
setVirtualKeyDown(13,true)--enter зажимается
xz = true
elseif not isKeyDown(87) and not isKeyDown(16) and xz then -- иначе если не зажаты ШИФТ и Г и xz==true тогда
setVirtualKeyDown(13,false)--enter отжимается
setVirtualKeyDown(18,false)--alt отжимается
xz = false
end
end
end