-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create bind script #15
Comments
I could take a stab at this - if events are callable? |
Sort of, it's a bit tricky to be honest, because if the bind even has its own I believe scripts currently run their own We could basically switch it on startup, but it creates a lot of inconsistency, so I'm not sure if it's really a good idea. |
I'm not sure if this might be a feature of VC-MP already, but we should consider a key-binding script.
So
/bind P v 191
would bind/v 191
to the P key.This should be trivial to implement if we extend the script-loader so that scripts can inject their own commands.
We could then create default bindings by also manually injecting bind commands, which would make the overall system cleaner, as all keybinds would be located in one central script (although it might make context-sensitive key-reuse a lot harder).
The text was updated successfully, but these errors were encountered: