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

13 lines
346 B
Lua

-- This profile removes the ZM objectives from the map.
hook.Add("InitPostEntityMap", "MapProfile", function()
for _, ent in pairs(ents.FindByClass("prop_dynamic*")) do
if ent:GetModel() == "models/alyx.mdl" then
ent:Remove()
end
end
for _, ent in pairs(ents.FindByModel("models/items/car_battery01.mdl")) do
ent:Remove()
end
end)