My remove default map props code removes also doorgroups

Basicaly on the map rp_catalyst_v1 I have this lua code that removes all the props created by the map so I can build my own custom ones. But when I put it in after a while I noticed that it also removes doorgroups and some wanted props.

If there is a way to maby remove sertain props on the map like these models

“models/props/CS_militia/barstool01.mdl”, “models/props_c17/FurnitureDresser001a.mdl”, “models/props_c17/FurnitureBed001a.mdl”, “models/props_c17/FurnitureMattress001a.mdl”, “models/props/CS_militia/couch.mdl”

Here is the code I’m using
[lua]
if SERVER then
timer.Create(“cleanshit”, 15, 1, function()
for k, v in pairs(ents.FindByClass(“prop_physics”)) do
if IsValid(v) and v:CreatedByMap() then
v:Remove()
end
end
end)
end[/lua]

All the other props are fine but I realy don’t want those props to spawn cause there bunks and I built my custom ones.

Thanks in advance

Jeromy Han

Its removing all physics props created by the map… Not sure of a away to remove them unless you specify the prop or something

Thats what I ment by doing I wan’t the models below to be removed
“models/props/CS_militia/barstool01.mdl”, “models/props_c17/FurnitureDresser001a.mdl”, “models/props_c17/FurnitureBed001a.mdl”, “models/props_c17/FurnitureMattress001a.mdl”, “models/props/CS_militia/couch.mdl”