WORLD_HITMARKER

you can call all render.* functions inside of this callback

this callback is called every time the hack renders world hitmarkers, it can be used to either replace the world hitmarker, or override it completely returning true will stop the original world hitmarkers from drawing

local function on_world_hitmarker(screen_pos, world_pos, alpha_factor, damage, is_lethal, is_headshot)
    render.push_alpha_modifier(alpha_factor)
    render.circle(screen_pos, 12, color_t(255, 255, 255))
    render.pop_alpha_modifier()

    return true
end

callbacks.add(e_callbacks.WORLD_HITMARKER, on_world_hitmarker)

Last updated