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

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

local function on_screen_hitmarker(screen_pos, alpha_factor, is_lethal, is_headshot)
    render.push_alpha_modifier(alpha_factor), 12, color_t(255, 255, 255))

    return true

callbacks.add(e_callbacks.SCREEN_HITMARKER, on_screen_hitmarker)

Last updated