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

23 lines
588 B
Lua
Raw Normal View History

2014-10-02 08:49:54 +08:00
hook.Add("InitPostEntityMap", "Adding", function()
local ent2 = ents.Create("prop_dynamic_override")
if ent2:IsValid() then
ent2:SetPos(Vector(-746, -122, 704))
ent2:SetAngles(Angle(0, 90, -90))
ent2:SetKeyValue("solid", "6")
ent2:SetModel(Model("models/props_lab/blastdoor001b.mdl"))
ent2:Spawn()
end
local ent2 = ents.Create("prop_dynamic_override")
if ent2:IsValid() then
ent2:SetPos(Vector(-710, -116, 704))
ent2:SetAngles(Angle(0, 0, -90))
ent2:SetKeyValue("solid", "6")
ent2:SetModel(Model("models/props_lab/blastdoor001b.mdl"))
ent2:Spawn()
end
end)