How do you prevent specific class scripts from transfering to all classes?

I just started scripting and have a bunch for spy (to modify the cursor, remove view model, modify sensitivity, rebind keys, etc.). How do I prevent scripts in the spy.cfg class file from spreading to all my other classes?


You cannot prevent this due to the way .cfg files work.

What you can do is, if a setting appears in at least one class, write the default setting to all the other class config files.

To go a step further, make a .cfg file with all those default settings and execute it at the beginning of each class config file. No further hacks will be required.

Source : Link , Question Author : I Phantasm I , Answer Author : BlaXpirit

Leave a Comment