You may have to also remove "weapon_item_spawn" entities, or do you entity removal via script/plugin instead.
modify:{ match: { "model" "models/props_interiors/medicalcabinet02.mdl" } replace: { "HealthCount" "0" }}
This should do the trick. It's the method that Valve uses to spawn almost every item, they don't often use "weapon_pain_pills_spawn", but instead use a item spawn entity that randomly chooses among a molotov, pain pill, pipe, etc.You will also need to change the pill cabinets to not have pills anymore. You can do that with the following:Code: [Select]modify:{ match: { "model" "models/props_interiors/medicalcabinet02.mdl" } replace: { "HealthCount" "0" }}
Thx for reply, I've add this to the globalfilters, and its work good - there is no pills, but there is a still so much andrenalines.
{ "classname" "weapon_item_spawn"}
filter:{ "classname" "weapon_item_spawn" "item4" "1"}{ "classname" "weapon_item_spawn" "item11" "1"}
modify:{ match: { "classname" "weapon_item_spawn" "item4" "1" } replace: { "item4" "0" }}modify:{ match: { "classname" "weapon_item_spawn" "item11" "1" } replace: { "item11" "0" }}