I think I know what you're trying to do:
Code:
register_event("DeathMsg", "on_death", "a");
// ...
new g_wanted[33], g_hitman[33];
public on_death()
{
new victim = read_data(2);
new killer = read_data(1);
if(g_wanted[victim] == 1 && g_hitman[victim] == killer)
{
// the victim was wanted and the the person that just killed him was the hitman that was assigned to him
g_wanted[victim] = 0;
g_hitman[victim] = 0;
}
}
__________________