1. Hi. I am working on a plugin that basically shows your K/D.

    Everything is fine and easy but I can't figure out a way to handle "fake kills".
    For example: A clanmate kills a clanmate.

    I already fixed that, but if them leave the clan them could "bug" the plugin.

    So I was thinking on filters to avoid this. Like a timer, but I am not sure how that will affect performance.

    Do you have any idea?
     
  2. Im not sure if it is possible but maybe you could check there steam friends list for the player killed? Im not sure if this works or not, or if it is possible.
     
  3. Take a look at the friends plugin am sure you could use some code like that to see if they are friends or not
     
  4. There is no good way to combat it other then having some sort of cooldown timer. Also I don't think there are any available hooks for when a friends defriends someone or someone leaves a clan so you would need to get that functionality added
     
  5. Maybe something like not add the kill if victim is killer's last victim. But that wouldn't be perfect.
     
  6. This is the reason why I never made a plugin that rewards kills in some way. It's pretty much impossible to prevent this, players will always be able to exploit this.
     
  7. Yes, that's true. It's impossible.