I think it’s a rather simple thing, but I can’t figure it out on my own.
I am searching for a few lines of lua, that delete all npc weapon entities (all ar2, combineballs, etc.), to prevent Npcs from dropping ammunition and guns.
This is a feature I always wanted in garrysmod.
Can anyone tell me how to delete npc weapons on the ground via lua, or is there an even simpler solution?
thx in advance
edit: perhaps there might even be a console command to clean up all weapons, that I could trigger via lua. Anyone knows, if such a console command exists?