Strip a specific weapon from the player?

Hi there, quick question:

I’m currently making this swep, but i am trying to figure how i can remove the swep from his inventory after he has used it.

How can this be done?

[LUA] _p:StripWeapon( _w ); [/LUA]
_w is the class, so if you want it removed after left mouse button, put it in the end of PrimaryAttack()

If this is inside a SWEP file, IIRC you can just do, “self:Remove()”.