Skip to content
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

activate/deactive plugin by convar #78

Open
Dying-Ducks opened this issue Feb 21, 2024 · 4 comments
Open

activate/deactive plugin by convar #78

Dying-Ducks opened this issue Feb 21, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Dying-Ducks
Copy link

One feature I really liked in the retake plugin for CSGO from spelwis was the convar sm_retakes_enabled.

With this convar one could effectively activate and deactivate the plugin on the fly.

Want to play some retake? Set sm_retakes_enabled to 1.
Want to do learn some nades? Just set it to 0 and load your training set up.

It was super convenient that everybody could just stay on the server and one got total control.

Is it possible to add such a feature?
So that there is a convar and when its set to zero the plugin does absolutely nothing and just waits to be activated?

@B3none
Copy link
Owner

B3none commented Feb 21, 2024

At the moment convars are not supported so it’s not possible.

@B3none B3none added the enhancement New feature or request label Mar 26, 2024
@B3none
Copy link
Owner

B3none commented Mar 26, 2024

Fake cvars were added, so we might be able to action this now 👍

@ReneRebsdorf
Copy link

@B3none Did you find out if it was possible to implement this?

@shaedy180
Copy link

I would be really interested in that too! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants