How do I check if someone has the Q or E key down from the server?

I would’ve known how to do this on the client (**[Input.IsKeyDown

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Input.IsKeyDown)**) but I have no clue how to check it from the server. Any ideas?

Maybe you can send a console command letting the server know which key has been pressed and released on the client and storing the state serverside? Then you can just check if the current state is down on the server.

Like MakeR said, notify the server when those 2 keys are down, and again when they’re back up. There isn’t really another way.

Thank you both :buddy:

If you want to trim down the network usage as much as possible you can skip sending the notification for when E is down and use Gamemode.KeyPress instead. Then you’d only need to send the notification for when it’s back up. :v: