How do I bind console commands to keys?

Hey, i want to bind “host_framerate 150” to a key so that it gets toggled on and off when i click a key.

Bind z host_framerate 150 does not work so is there any other way to put it?


bind z **

"


**host_framerate 150**

"


**

Note the " "

i already tried that :confused: are normal console commands supposed to be binded to keys?

Yes.

bind “z” “sv_cheats 1;host_framerate 150”

thanks alot Flapjack you helped alot :slight_smile: