Solved Commands binding

Discussion in 'Rust Development' started by Ruby, Feb 7, 2016.

  1. What should i write in the plugin to binding command a key?
    Example: F1 > bind h "help" (/help - server command) etc...
    More in detail about it, if anyone understands.
     
  2. Wulf

    Wulf Community Admin

    You'd run it as a console command, ie. rust.RunClientCommand("command args").
     
  3. interesting, but how to add binds to player without edditing the client binds?
     
  4. Wulf

    Wulf Community Admin

    All binds are client key binds. You can make command aliases, but that'd still be commands you'd enter. You can also listen for existing input for keys that get sent to the server, but that's not really a bind nor ideal in terms of performance.
     
  5. can u help me more?
     
  6. Wulf

    Wulf Community Admin

    Can you provide any details?
     
  7. Doesn't Rust block automatic keybinding now?
     
  8. Wulf

    Wulf Community Admin

    Yes. You can manually bind still on your client.
     
  9. I know, but from what I read on this thread was that they wanted a plugin to do it for them.
    I'm not sure if there's a way around it haha
     
  10. You can do only auto-bind for few buttons, like Third Mouse Mutton, Fire, Reload, Use, with using of OnPlayerInput.
    TMB is only one button that is really comfortable to use.