MrUnimax Posted June 15, 2022 Share Posted June 15, 2022 Как сделать чтобы открыть панель, нужно было нажать на клавишу 3 раза? Link to comment
AngelAlpha Posted June 19, 2022 Share Posted June 19, 2022 local keyCount = 0 local prevTick = 0 bindKey ("p", "down", function() if keyCount < 3 then if getTickCount()-prevTick < 200 then keyCount = keyCount + 1 else keyCount = 0 end else openPanel() end end) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now