Sorry if this is the wrong place for this....
I've got a server and from time to time on the spur of the moment me and my friends will want to go rifles only, the problems is when other pubbers comes in and I have to tell them "rifles only please" and they start off using rifles but then switch to things like the Gewehr40. Now it'll take a long damn time to manually time in: /rcon scr_allow_ 0 Few all of the weapons.
So is there a way I can make a CFG file that will do it for me, so all I have to do is: bing exec riflesonly.cfg
I've tried doing rcon scr_allow_ 0 and rcon scr_allow_ "0" and /rcon scr_allow_ 0 [this returned an error]
The only part that does work in my scripts is that at the end I have bind exec allweapons.cfg [in the riflesonly.cfg] and bind exec riflesonly.cfg [in the allweapons.cfg] This is so I don't have to bind 2 keys to this 2 things.