AIMBOT_SHOOT

this callback is called whenever the ragebot fires a shot

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

local function on_aimbot_shoot(shot)
    print("shot at", shot.player:get_name(), "with", shot.hitchance, "hitchance")
end

callbacks.add(e_callbacks.AIMBOT_SHOOT, on_aimbot_shoot)

Last updated