I think you might be able to do something like this:
timer.Create("glassheal", 1800, 0, function()--1800 (every 30 mins)
for k,v in pairs(ents.GetAll()) do
if v:GetClass() == "func_breakable_surf" && v:Health() <= 0 then
v:Spawn()
v:PhysicsInit( SOLID_BSP )
v:SetSolid( SOLID_BSP )
v:SetMoveType( MOVETYPE_NONE )
end
end
end
end)
pretty much a guess but might work.
so, interesting, but I got it in hammer and I suggest it for all
Sorry, you need to Log In to post a reply to this thread.