Make player shoot himself

Is there a way to make a SWEP shoot the player holding it? I tried:

function SWEP:SecondaryAttack()
	local bullet = {}
	bullet.Num 		= 1 
	bullet.Src 		= self.Owner:GetPos() 
	bullet.Dir 		= self.Owner:GetPos()
	bullet.Spread 	= 0
	bullet.Tracer	= 0	
	bullet.Force	= 5
	bullet.Damage	= 25 

	self.Owner:FireBullets( bullet )

But nothing happens. Do I have to change the bullet.Src to some random point in the world ?
I also thought that the bullet might not hurt the player because the player is the owner of it

FireBullets automatically puts in the owner in the trace filter. You’ll have to write your own FireBullets function, or just apply direct damage to the owner.

Is there a way to make direct damage show that the user killed himself. to clarify I am making this pistol for the TTT gamemode, if the user misses a shot he dies. Currently I am using self.Owner:Kill(), but that just show an unspecified cause. I would like to show there that he killed himself with the gun.


Entity:TakeDamage and make the inflictor the SWEP.

Thanks, that worked!