It is me agian, today making my seventh GUIDE
I am going to talk to you about +vstr.
You might think this is the same as we did before when we were learning about Variables and Vstr, but +vstr is diffirent.
I think giving you a few examples is the easiest way to tell you
For example, you want to have 90 FOV when you are pressind down mouse1 (meaning your shooting)
Which could be usefull for fights.
But you want 110 FOV when you are not pressing down mouse1 (not shooting)
This could be usefull for when ur just walking around, not fighting.
This could be done by just binding two buttons, or make a toggle button.
But how awesome would it be if it would change to 90 FOV automaticaly when you press down mouse1, and change back when you releace it.
This can be done with +vstr.
That cfg would look like the following:
Not hard right? nope, not at allCode:set shooton "+attack;cg_fov 90;set vstr shootoff" set shootoff "-attack;cg_fov 120;set vstr shooton" bind mouse1 "+vstr shooton shootoff"
That was all about +vstr.
Let me just give you a default +vstr cfg so you know how it should look
Hope u liked itCode:set variable1 "command1; command2; set vstr variable2" set variable2 "command1; command2; set vstr variable1" bind key "+vstr variable1 variable2"
PS: I made multiple GUIDES for cfg making, to follow them in the correct order check the (number) in the topic title