A way is using a global variable as temp.This Plugin store the last killer for every player,until "event_new_round".
Code:
#include <amxmodx>
#include <amxmisc>
new tempkiller[33]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "Death", "a")
register_event("HLTV", "event_new_round", "a", "1=0", "2=0")
}
public Death()
{
new killer = read_data(2)
tempkiller[killer] = killer
}
public event_new_round()
{
for(new i=0;i<=get_maxplayers();i++)
{
new killer = tempkiller[i]
tempkiller[i]=0
if(is_user_connected(i) && killer)
{
//do anything with killer
}
}
}
__________________