bind lshift "+toggle zoom 1 10" isn't possible at the moment.
While this bind is possible: bind lshift "toggle cl_default_zoom 1 10; zoom" you still have to press the key twice. (And it goes back and forth really fast if you hold the keybind)
With another console command +toggle +zoom ?i you could toggle zoom with key press and go back to your default zoom on key release.
bind lshift "+toggle +zoom" will zoom to zoom level 0 when pressed and to cl_default_zoom when released.
bind lshift "+toggle +zoom 5" will zoom to level 5...
bind lshift "+toggle zoom 1 10"
isn't possible at the moment. While this bind is possible:bind lshift "toggle cl_default_zoom 1 10; zoom"
you still have to press the key twice. (And it goes back and forth really fast if you hold the keybind)With another console command
+toggle +zoom ?i
you could toggle zoom with key press and go back to your default zoom on key release.This is an example solution: https://github.com/lukitsche/ddnet-lu/tree/toggle_zoom
bind lshift "+toggle +zoom"
will zoom to zoom level 0 when pressed and to cl_default_zoom when released.bind lshift "+toggle +zoom 5"
will zoom to level 5...