32 lines
884 B
Lua
32 lines
884 B
Lua
|
hook.Add("InitPostEntityMap", "Adding", function()
|
||
|
|
||
|
|
||
|
local ent2 = ents.Create("prop_dynamic_override")
|
||
|
if ent2:IsValid() then
|
||
|
ent2:SetPos(Vector(802, -260, -563))
|
||
|
ent2:SetAngles(Angle(0, 90, 0))
|
||
|
ent2:SetKeyValue("solid", "6")
|
||
|
ent2:SetModel(Model("models/props_lab/blastdoor001c.mdl"))
|
||
|
ent2:Spawn()
|
||
|
ent2:SetColor(Color(0, 0, 0, 0))
|
||
|
end
|
||
|
|
||
|
local ent2 = ents.Create("prop_dynamic_override")
|
||
|
if ent2:IsValid() then
|
||
|
ent2:SetPos(Vector(900, -169, -565))
|
||
|
ent2:SetKeyValue("solid", "6")
|
||
|
ent2:SetModel(Model("models/props_lab/blastdoor001c.mdl"))
|
||
|
ent2:Spawn()
|
||
|
ent2:SetColor(Color(0, 0, 0, 0))
|
||
|
end
|
||
|
|
||
|
local ent2 = ents.Create("prop_dynamic_override")
|
||
|
if ent2:IsValid() then
|
||
|
ent2:SetPos(Vector(899, -332, -536))
|
||
|
ent2:SetKeyValue("solid", "6")
|
||
|
ent2:SetModel(Model("models/props_lab/blastdoor001c.mdl"))
|
||
|
ent2:Spawn()
|
||
|
ent2:SetColor(Color(0, 0, 0, 0))
|
||
|
end
|
||
|
end)
|