zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/maps/zs_stormiest_b1.lua
2014-10-01 20:49:54 -04:00

25 lines
822 B
Lua

hook.Add("InitPostEntityMap", "Adding", function()
for _, ent in pairs(ents.FindByClass("weapon_zs_boomstick")) do ent:Remove() end
for _, ent in pairs(ents.FindByClass("weapon_zs_medicalkit")) do ent:Remove() end
local ent2 = ents.Create("prop_dynamic_override")
if ent2:IsValid() then
ent2:SetPos(Vector(-2146, 1663, -625))
ent2:SetAngles(Angle(0, 66, 0))
ent2:SetKeyValue("solid", "6")
ent2:SetModel(Model("models/props_lab/blastdoor001c.mdl"))
ent2:SetColor(Color(0, 0, 0, 0))
ent2:Spawn()
end
local ent2 = ents.Create("prop_dynamic_override")
if ent2:IsValid() then
ent2:SetPos(Vector(-2226, 1781, -625))
ent2:SetAngles(Angle(0, 0, 0))
ent2:SetKeyValue("solid", "6")
ent2:SetModel(Model("models/props_lab/blastdoor001c.mdl"))
ent2:SetColor(Color(0, 0, 0, 0))
ent2:Spawn()
end
end)