Umm, if you can’t find where people die, you are not going to be able to make a mod. If you try to make a mod by just getting people to post random snippets of code, you will very soon find yourself in a buggy mess that you can’t code your way out of.
When I want to find something in the code, I first think about whether it would be in the client (cgame) or server (game). Something like this, you obviously want to do on the server, since it already tracks kills and stats and such, and you want to send the message to all players.
Then, if I don’t already have an idea where to look, I either look for files with a name that seems related to what I want (g_combat.c looks like a place where people might die. g_stats.c also might be somewhere in the process) or search all the .c files for some likely word.
Once I have found an area related to what I’m interested in, I read the code to find the best place for the feature.
This process obviously takes more time and effort than just having someone tell you what to do. However, it has the huge advantage of significantly deepening your understanding of the code every time you add a feature. Pretty soon, you will know where to look right away.
As for making a ‘first blood’ message, the simple way to do it would be to have a global variable set to some value when game gets initialized (look in g_main.c) and check every time a player dies. If the variable is at its initial value, print the ‘first blood’ message, and set the variable to some other value. There are a few more details of course, such as making sure the first death was from another player, and dealing with warmup. Again, if you can’t come up with that kind of stuff yourself, maybe you shouldn’t be trying to make a mod.
I’m not trying to be rude. I’m just pointing out that if you aren’t willing to invest the effort in actually learning, no amount of hand holding will allow you to make a working mod.
There are also some websites that can help you get a general understanding of the code. http://www.planetquake.com/code3arena/ is a good place to start (it is for q3, but the code is organised in the same way, and the major functions all do pretty much the same thing)
A few more links can be found in this thread:
http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=8198&