static void double_tap()
{
static int shot_count{};
static int old_shot_count{ };
double offset_tick{ };
auto temp = active_weapon->GetNextPrimaryAttackTickRatio() + modf(active_weapon->watOffset(), &offset_tick);
auto next_attack = active_weapon->GetNextPrimaryAttackTick()...