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

8 lines
197 B
Lua
Raw Normal View History

hook.Add("SetupProps", "RemoveBoomstick", function()
for _, ent in pairs(ents.FindByClass("prop_weapon")) do
if ent:GetWeaponType() == "weapon_zs_boomstick" then
ent:Remove()
end
end
end)