RPC kill counter

Hello, I’m trying to make a kill counter for my online game. I’m having trouble getting the NetworkView of the person who sent the RPC to kill the other player. How am I suppose to go about this? Thanks!

make a variable for the counter and make it a static variable

static var counter = 0;

then in a gui function make something like a gui box which contains the counter
then in a script attached to people you kill you do in a on destroy

counter += 1;

haven’t tested this myself but should give you a rough idea of what to do.