Removing bulletholes/ impact particles from specific weapon?

Is it in anyway possible to remove the particel effect and bulletholes when you shoot on any surface when using a specific weapon.

I have seen sweps with driffrente impact particel effects so i thought that i might be something that can be done?

Alright i went and used the effect " Impact" (https://wiki.garrysmod.com/page/Effects) Which was described: Makes a plastic impact sound, no visible effects. Which fits nicely to my addon.


function SWEP:DoImpactEffect( tr, nDamageType )

	if ( tr.HitSky ) then return end

	local effectdata = EffectData()
	effectdata:SetOrigin( tr.HitPos + tr.HitNormal )
	effectdata:SetNormal( tr.HitNormal )
	util.Effect( "Impact", effectdata )

end

But it did nothing when i went in-game i still had the bullet holes and particels comming of the walls…

Read the goddamn wiki page I linked, don’t simply go and copy paste the first piece of code you see.

My apologies. I got it working now.

Thank you.