bind_osx [Bind Key] ["Bind Command"]
This command will bind a command, or list of commands, to a key on your keyboard or button on your mouse. This command is for OSX (Mac).
Arguments are parameters that you add to a command. Find information about this command's arguments below.
|Bind Key||The key that you'd like to assign the subsequent command to.|
|"Bind Command"||The command, or sequence of commands, that you want to assign to the bind hotkey. If binding multiple commands you need to separate them with a semi-colon (;) and put quotation marks on either side (").|
|Client or Server Command?||Both|
Find below working examples of this command (copy and paste into console).
bind_osx p noclip
This command binds the noclip command (the command that makes you fly) to the P key on your keyboard. Noclip needs cheats active to use, so this bind would only work on a server with cheats enabled.
bind_osx ?F4? ?buy molotov; buy incgrenade; buy flashbang; buy hegrenade; buy smokegrenade; buy ak47; buy m4a1; buy vesthelm; buy vest?
This command will bind a typical full-buy setup on both T and CT side to your F4 key. As long as you had enough money and were in the buy zone within the buy time limit, you would purchase full nades, armor and a helmet and a rifle.