Jump to content

two actions with one button


Recommended Posts

Hey y'all, hope you're doing well! :)

 

I was wondering if it's possible to bind cg_fov and cg_drawgun on the same button.

 

I wrote it straight like this but it doesnt work at all:

 

bind MOUSE4 "cg_fov 80"
bind MOUSE4 "cg_drawgun0"
bind MOUSE5 "cg_fov 111"
bind MOUSE5 "cg_drawgun1"

 

its probably an easy fix but me dumbo 😛

 

sorry if it's a duplicate post*

  • Like 1
Link to comment
Share on other sites

bind MOUSE4 "cg_fov 80; cg_drawgun 0"

 

bind MOUSE5 "cg_fov 111; cg_drawgun 1"


Make sure there is a space between drawgun and #.

  • Like 3
  • Thanks 1
  • 100 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.