1. How i can blocked use chat command when i sitdown on chair
     
  2. You can ask from @Wulf if he can update his CommandBlock | Oxide plugin.

    But if you (or someone else) want to do this. Here's hooks for you
    Code:
    void OnEntityMounted(object mounted, BasePlayer player)
    void OnEntityDismounted(object mounted, BasePlayer player)
     
  3. Thank you. No need update it. I want blocked this on my plugin
     
  4. The hooks will be useless for this use case.

    You can check the player flag when they try to enter the command. I believe it is PlayerFlag.Mounted.
     
  5. You can keep track of whos mounted in chair with these hooks. But that would be easier if there is flag for mounted or not.
     
  6. Here is example how to block cmd while mounted.
    P.S: Im not going to upload it to Oxide website.
    P.S.2: Change this thread to solved.
     
    Last edited by a moderator: Oct 23, 2018