Article Luminus - Crosshair

DREDD

Administrator
Administrator

DREDD

Administrator
Administrator
Status
Offline
Joined
Apr 18, 2019
Messages
191
Reaction score
323
RjJMDE1.jpg

Go to the Paint Traverse hook and insert the code into the NoScope function.
P.S. if it is not there we create

C++:
int screenX, screenY;
                I::pEngineClient->GetScreenSize(screenX, screenY);
                auto center = Vector(screenX / 2.f, screenY / 2.f, 0);
                float spread = 1.f;
                  int heighty = clamp(spread, 1.f, 1.f);

                
                YourNameSpaceOrClass-pSurface::DrawRect(0, center.y - (heighty / 2), screenX, heighty, Color(0, 0, 0, 255)); //deffault scope line
                YourNameSpaceOrClass-pSurface::DrawRect(center.x - (heighty / 2), 0, heighty, screenY, Color(0, 0, 0, 255)); //deffault scope line

                YourNameSpaceOrClass-pSurface::DrawRect(center.x, center.y - 10, heighty + 8, heighty, Color(0, 0, 0, 255)); // litle line in cente +10
                YourNameSpaceOrClass-pSurface::DrawRect(center.x, center.y - 20, heighty + 8, heighty, Color(0, 0, 0, 255)); // litle line in cente +20
                YourNameSpaceOrClass-pSurface::DrawRect(center.x, center.y - 30, heighty + 8, heighty, Color(0, 0, 0, 255)); // litle line in cente +30
                YourNameSpaceOrClass-pSurface::DrawRect(center.x, center.y - 40, heighty + 8, heighty, Color(0, 0, 0, 255)); // litle line in cente +40
                YourNameSpaceOrClass-pSurface::DrawRect(center.x, center.y - 50, heighty + 8, heighty, Color(0, 0, 0, 255)); // litle line in cente +50

                YourNameSpaceOrClass-pSurface::DrawString(visuals_name_font, center.x + 17, center.y - 15, Color(0, 0, 0, 255), FONT_CENTER, "%s", xorstr("x1"));//string not dynamic, m3m3 static

                YourNameSpaceOrClass-pSurface::DrawCircle(center.x, center.y, 280, 400, Color(0, 0, 0, 255)); // b1g circle
 
Top