I'm trying to make a death counter mod for my friends and I. I've gotten far enough to make one counter that both display's the first players name and properly updates on a death. The problem is that the first counter updates on any player dying. I can't for the life of me figure out how to determine which player is the one who is dying. There's probably some index I'm unaware of that I can take advantage of to do this, but I can't find one, hence this thread.
I'm hoping someone more knowledgeable can help me and give me some code example to solve this problem.
I'm hoping someone more knowledgeable can help me and give me some code example to solve this problem.