1. Hey all,

    Just wondering if there's a way to detect player mouse input?
    More specifically, I want to cancel scroll wheel input.

    Thanks.
     
  2. Wulf

    Wulf Community Admin

    You can only listen for key and mouse presses, there is no mouse input sent to the server other than that.
     
  3. Oh, ok. Thanks!

    How do we listen for clicks/keys? Is polling possible?
     
  4. You can try void OnPlayerInput(BasePlayer player, InputState input) however I'm not sure if that hook is still working. Keep in mind that's an expensive task. :p
     
  5. Wulf

    Wulf Community Admin

    It works fine, but it will only detect input sent to the server.