Is there any way to delete or replace map placed models and replace them with your own version, which is an entity?
I tried using:
for _, ent in pairs(ents.GetAll()) do
if (ent:GetModel() == “models/env/misc/bank_atm/bank_atm.mdl”) then
But it only removed the entity versions and not the map versions. I wasn’t sure to post this in the lua or mapping forum but since it involves lua coding I figured i’d post it here.