Finding the player who killed you in multiplayer system

I am currently working on a multiplayer fps game and i have successfully implemented death and respawn system and i shoot projectiles to check the hits. But i am not able to figure out how to set-up a system that print out the string of who killed the other player. If you have any idea then please help me