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

10 lines
239 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("prop_physics")) do
if ent:GetModel() == "models/props_c17/furniturecouch001a.mdl" and ent:GetPos().z > 160 then
ent:Remove()
end
end
end)