Replacing default HL" entities

So, basically i want to replace the item_ammopistol etc entities with my own ones.

This is to prevent the bug of smashing an item crate and not being able to pickup the ammo.

any code snippet is appriciated.

Have you tried creating a SENT with the same classname?

no, because i think its the sam with sweps.
if you name your swep as “weapon_shotgun” it just becomes as the default hl2 pistol in the menu.
but ill try.