Removing bullet casings via lua?

Hi there

I’m currently making some plasma-type sweps via lua, and since i am using the Swep Construction Kit to make the models, i get bullet casings when i fire the weapon. So my question is:

Is it possible to remove bullet casings(shells/brass, whatever you want to call it) via lua? If so, then how would i accomplish that?

I’m using the CSS Ak47 model btw.

Thanks

I tried this but no luck, what am i doing wrong?
[lua]
function SWEP:FireAnimationEvent(pos,ang,event)
return (event==6001)
end
[/lua]

put print(event) and see if there’s any numbers in console when you shoot.

interesting, apperantly the casings were event 20 for some reason… But its working now, so thanks!