I have a fishing mod, with birds that can steal your catch on my server, but I can not get rid of birds unless map change or shoot them.
Is there anyway to cleanup specific models?
Thanks
[QUOTE=shawty220;24496596]I have a fishing mod, with birds that can steal your catch on my server, but I can not get rid of birds unless map change or shoot them.
Is there anyway to cleanup specific models?
Thanks[/QUOTE]
in lua i have a suggestion
try this
[lua]
local ModelToDelete = "models/alyx.mdl"
for k,v in pairs(ents.GetAll()) do
if v:GetModel() == ModelToDelete and v:GetClass() == "prop_physics" and v:IsValid() then
v:Remove()
end
end
[/lua]
Sorry, you need to Log In to post a reply to this thread.