View Single Post
SuperU
Member
Join Date: Feb 2014
Location: Panama
Old 05-19-2014 , 23:31   Re: [TF2] Weapon Restrictions
Reply With Quote #9

I guess i'm so close to finish config this plugin,but i have one more question

How you use the option to default to blacklist (allow nothing except listed items)?

This is my example how i have the config file

Quote:
"weapon_restrictions"
{
"name" "restriction"
"default" "deny"

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


"indexes"
{
"587"
{
"name" "Apoco-Fists "
"deny" "1"
}

"5"
{
"name" "Fists"
"allow" "1"
}

"195"
{
"name" "Fists (Renamed/Strange)"
"deny" "1"
}

"43"
{
"name" "The Killing Gloves Of Boxing"
"deny" "1"
}

"239"
{
"name" "Gloves of Running Urgently"
"deny" "1"
}

"264"
{
"name" "Frying Pan"
"deny" "1"
}


}
}
Have a nice day tomorrow sorry to bother you

Last edited by SuperU; 05-19-2014 at 23:35.
SuperU is offline