Well, I want to make a script so it can delete all the NPC dead bodies left over and all the ammo and waepons they leave behind. I’ve searched ammo on the wiki and can’t find anything that I can work with to even try. I’m trying it would be something like this.
[lua]function DeleteAmmo()
for k, v in pairs(ammo.GetAll())
v:RemoveAll()
end[/lua]
Please help me with this in the weapons.
The problem is all the ammo and weapons laying around causes lag a bit and the bodies same.
Thanks,
Th3SiNz