local backtrack,wanted_damage,wanted_hitgroup
client.set_event_callback('aim_fire', function(e)
        wanted_damage = e.damage
        backtrack = globals.tickcount() - e.tick
        wanted_hitgroup = hitgroups[e.hitgroup]
    end)
    client.set_event_callback('aim_hit', function(e)
print(backtrack)
end)