View Single Post
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 09-06-2015 , 15:00   Re: [TF2] Weapon Restrictions
Reply With Quote #89

So using indexes doesn't work? Would explain why I can't block the kritzkreig and the Quick Fix .....

I just need to block those two -- how can I go about doing that the most effective way? I don't care whether or not it auto-replaces it with the regular medi-gun.....just want those two to be blocked from use. Thank you in advance for anyone who can help. (and how do I get the plugin to call upon the desired CFG file automatically?)

EDIT: I figured out how to block the kritzkrieg and quick fix, but for some reason, my engineers now cannot build any buildings. Here's my weaponsrestrict config:

Code:
"weapon_restrictions"
{
    "name"               "Medic"
    "default"            "allow"

    "allow_buildings"		"1"
    "allow_action_items" 	"1"

    "indexes"
    {
        "35"
        {
            "name"        "The Kritzkrieg"
            "deny"        "1"
        }

        "411"
        {
            "name"        "The Quick-Fix"
            "deny"        "1"
        }

    }
}
I remove the weapon restrict plugin, and the engineers can now build. No other plugins are being used for engineers or medics.

Last edited by SmackDaddy; 09-07-2015 at 15:40.
SmackDaddy is offline