Hello, can someone help me filter weapons on the map, this is for
L4D2, what happens is that when using !ent on a weapon that I want to disappear I get this but I don't know what exactly to put in global_filters
Sometimes he gives me Hammer's ID.
Code:
200 Classname: weapon_spawn Targetname: Model: models/w_models/weapons/w_sniper_awp.mdl HammerID: 1833737 Position: -839.00 2197.00 -221.50 Angles: 0.00 93.99 90.0
And sometimes I don't get the hammerID id and just get coordinates.
Code:
621 Classname: weapon_spawn Targetname: Model: models/w_models/weapons/w_sniper_awp.mdl HammerID: 0 Position: 3482.00 286.00 33.56 Angles: 0.00 75.01 270.00
This is in my global_filters.cfg configuration
HTML Code:
; --- Remove weapons spawns
filter:
{
"classname" "weapon_sniper_awp_spawn"
}
I have this in the global_filters.cfg file but the gun does not disappear,
I have tried to remove many ID's and place them in global_filters.cfg but the weapon continues to be generated on the map.
How can I place those coordinates or the HammerID correctly in global_filters so that they no longer spawn that weapon that I want to eliminate (AWP).