WELCOME TO INFOCHEATS.NET

INFOCHEATS is a community-driven platform focused on free game cheats, cheat development, and verified commercial software for a wide range of popular games. We provide a large collection of free cheats shared by the community. All public releases are checked for malicious code to reduce the risk of viruses, malware, or unwanted software before users interact with them.

Alongside free content, INFOCHEATS hosts an active marketplace with many independent sellers offering commercial cheats. Each product is discussed openly, with user feedback, reviews, and real usage experience available to help you make informed decisions before purchasing.

Whether you are looking for free cheats, exploring paid solutions, comparing sellers, or studying how cheats are developed and tested, INFOCHEATS brings everything together in one place — transparently and community-driven.

Changing crosshair color — CS:GO

DREDD

Administrator
Administrator

DREDD

Administrator
Administrator
Status
Offline
Joined
Apr 18, 2019
Messages
147
Reaction score
249
5fbc8508e91a10f44409fecf1dffb357.png

How you can easily change the crosshair color (and outline color) without using any convars?

To do this you need to hook DrawSetColor from ISurface at index 15, then you check if the crosshair is being drawn and then you return your own color.

C++:
void __fastcall hk_drawsetcolor(ISurface* _this, void* edx, int r, int g, int b, int a)
{
    static const auto crosshair_color_return = utils::pattern_scan("client_panorama.dll", "FF 50 3C 80 7D 20 00") + 3;
    if (_ReturnAddress() == (void*)crosshair_color_return)
        return original(_this, 66, 134, 244, 255); // use the color you want here
 
    // you can also change the crosshair outline color if that's something you want
    static const auto crosshair_outline_color_return = utils::pattern_scan("client_panorama.dll", "FF 50 3C F3 0F 10 4D ? 66 0F 6E C6") + 3;
    if (_ReturnAddress() == (void*)crosshair_outline_color_return)
        return original(_this, 255, 255, 255, 255); // use the outline color you want here
 
    original(_this, r, g, b, a);
}
 
Top