AIMBOT_HIT

this callback is called whenever the ragebot hits a shot

along with it an instance of a aimbot_hit_t is passed into the callback

local function on_aimbot_hit(hit)
    print("hit", hit.player:get_name(), "for", hit.damage, "hp")
end

callbacks.add(e_callbacks.AIMBOT_HIT, on_aimbot_hit)

Last updated