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

10 lines
252 B
Lua
Raw Permalink Normal View History

2015-04-19 12:38:31 +08:00
hook.Add("InitPostEntityMap", "Adding", function()
local doors = ents.FindByClass("func_door_rotating")
if doors[4] then
doors[4]:SetKeyValue("damagefilter", "invul")
end
if doors[5] then
doors[5]:SetKeyValue("damagefilter", "invul")
end
end)