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

Improve functionality of _toggle cmd on multiplayer #212

Open
rtxa opened this issue Jan 8, 2024 · 0 comments
Open

Improve functionality of _toggle cmd on multiplayer #212

rtxa opened this issue Jan 8, 2024 · 0 comments
Labels
client Client-side related feature New feature or request

Comments

@rtxa
Copy link

rtxa commented Jan 8, 2024

The command _toggle currently only works with cvars that can query from client-side. E.g _toggle volume 0.0 0.5 1.0.

Make it work on multiplayer servers by remembering the cvar name being toggled and the last value being set.

@tmp64 tmp64 added feature New feature or request client Client-side related labels Feb 17, 2024
@rtxa rtxa changed the title Make _toggle command switch to the next value if it can't query it. Improve functionality of _toggle cmd on multiplayer May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Client-side related feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants