Forum

> > CS2D > Scripts > Is it possible to do actions using key combos?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Is it possible to do actions using key combos?

1 reply
To the start Previous 1 Next To the start

old Is it possible to do actions using key combos?

Kirito2K
User Off Offline

Quote
Hi us , I have some thing to ask

Can we make two buttons to do some thing , or is it Impossible ?

Example : I pressed on Shitf + F2 (with same time) , and a menu opened ..

Admin/mod comment

Please make a title that actually tells what you want to know.

old Re: Is it possible to do actions using key combos?

Rainoth
Moderator Off Offline

Quote
No, it is not possible. Not in a direct way at least.

It's possible to use cs2d lua hook move and check if walking == 1. Then you set state to the player that he's walking and check if he is doing it in serveraction hook. That's kind of a workaround but I don't advise to do it as it's a really bad way to do it.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview