View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-04-2014 , 18:24   Re: [TF2] Weapon Restrictions
Reply With Quote #2

Reserved for configs and things.

Sample Whitelist

Here's a configuration that allows everything except the Spy's cloaking devices and disguise kit:

Code:
"weapon_restrictions"
{
    "name"                "Spy Restrictions"
    "default"            "allow"

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

    "classes"
    {
        "tf_weapon_pda_spy"
        {
            "deny"        "1"
        }

        "tf_weapon_invis"
        {
            "deny"        "1"
        }
    }
}
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-08-2014 at 11:34.
Powerlord is offline