1. how to remove the plugin a bind at the player when he comes out from the server?
    OnPlayerDisconnected hook does not solve the problem.
     
  2. Wulf

    Wulf Community Admin

    OnPlayerDisconnected would work fine, but if they disconnect other than via the "Disconnect" button, that won't be triggered on their client. Key binds are something that should not be messed with much because of that.
     
  3. oddly, but at me not deleted a bind when disconnects. with other hook removes well.
    maybe my removal method I use is not the right hook for OnPlayerDisconnected?

    player.Command("bind c \"\"");

    [DOUBLEPOST=1470666529][/DOUBLEPOST]okay. I guess it not so important))
     
  4. Wulf

    Wulf Community Admin

    That should work fine, you'd just have to make sure it gets send to you.
     
  5. You shouldn't change client config settings from the server, especially when you can't assure that they don't persist across different servers.
     
  6. I do not use buttons involved game. so that with that should be no problem. more than half of the plugins that are here laid out are using the main buttons and do not remove a bind.
     
  7. Is there a way to send a keypress via player.Command ?
     
  8. well so is used player.Command .
    player.Command ( "bind" + keybind + "СommandMenu");
     
  9. What i mean is issuing key presses on users behalf for instance I know I can bind 9 noclip, but can I issue the 9 button was pressed via a user sending my plugin a /testcmd ?