Ryuto Posted May 8, 2021 Share Posted May 8, 2021 Is it possible a server-side way for pressing two or three keys to activate a function? I know that there are binds to activate them, but what I am looking for is to activate commands by means of a combination of keys for example (RIGHT CLICK + L) the player makes an animation. I know the client-side way with "getKeyState" but I'm looking for a way to do it with the server-side. Thanks! Link to comment
Moderators Patrick Posted May 8, 2021 Moderators Share Posted May 8, 2021 Probably the easiest way if you check it on client-side, and trigger (triggerServerEvent) the server-sided function. 2 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