zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/maps/zs_xmas_lodge.lua

12 lines
256 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
hook.Add("InitPostEntityMap", "Adding", function()
for _, ent in pairs(ents.FindByClass("item_ammo_crate")) do ent:Remove() end
for _, ent in pairs(ents.FindByClass("prop_physics*")) do
if ent:GetPos().z < -300 then
ent:Remove()
end
end
end)