So I noticed there's this stuff in the
player_death event:
Code:
kill_streak_total Kill streak count (level)
kill_streak_wep Kill streak for killing weapon
kill_streak_assist Kill streak for assister count
kill_streak_victim Victims kill streak
Anyone know how to properly use this stuff now? I ask because I have some ideas for how this stuff could be used (i.e. adding in bonus points for hitting certain killstreaks in the TF2 Stats plugin, or re-doing the existing TF2 "kill streak" plugins to use this stuff instead of coded-in kill-streak checks and timers and such.
I got this far before I went "Wait, how does this know that it's checking the ATTACKER'S killstreak, and not the victim's?" and then spaced out:
PHP Code:
new killstreak = GetEventInt(event, "kill_streak_total");
I think that code needs to be tied into an attacker check of some sort to verify whose killstreak the plugin is checking, but as I said before, I spaced out and don't know where to go from here.